We were overzealous about showing the changed
header, as well as setting a junk variable for
files that didn't exist; fix both.
git/query -c $commit HEAD | subst '^..'
}
git/query -c $commit HEAD | subst '^..'
}
mntgen /mnt/scratch
bind $branch/tree/ /mnt/scratch/a
bind . /mnt/scratch/b
mntgen /mnt/scratch
bind $branch/tree/ /mnt/scratch/a
bind . /mnt/scratch/b
-echo diff `{git/query $commit} uncommitted
for(f in `$nl{lsdirty | sort | uniq}){
for(f in `$nl{lsdirty | sort | uniq}){
+ if(~ $#showed 0){
+ echo diff `{git/query $commit} uncommitted
+ showed=1
+ }
- f=/dev/null
- diff -u a/$f b/$f
+ b=/dev/null
+ diff -u $a $b