git: 9front

Download patch

ref: fe9a09b8cb56d15c783ca89be5d06a4598f3566d
parent: a01928316cd97d04c50bccdf0a57033dbe51310c
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Oct 3 11:36:43 EDT 2024

git/export: don't try to diff dirs

--- a/sys/src/cmd/git/export
+++ b/sys/src/cmd/git/export
@@ -66,10 +66,10 @@
 		echo diff `{basename $pp} `{basename $cp}
 		for(f in $fc){
 			a=a/$f
-			if(! test -e $a)
+			if(! test -f $a)
 				a=/dev/null
 			b=b/$f
-			if(! test -e $b)
+			if(! test -f $b)
 				b=/dev/null
 			diff -ur $a $b
 		}
--