mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
git/diff: fix -c flag
This commit is contained in:
parent
91b19a1983
commit
0c4e4cb9e9
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ showed=()
|
|||
mntgen /mnt/scratch
|
||||
bind $branch/tree/ /mnt/scratch/a
|
||||
bind . /mnt/scratch/b
|
||||
for(f in `$nl{git/walk -c -f$filt $cparam $files}){
|
||||
bparam=()
|
||||
if(~ $#commit 1)
|
||||
bparam=(-b $commit)
|
||||
for(f in `$nl{git/walk $bparam -c -f$filt $cparam $files}){
|
||||
if(~ $#showed 0){
|
||||
echo diff `{git/query $commit} uncommitted
|
||||
showed=1
|
||||
|
|
Loading…
Reference in a new issue