we were catting $gitrel onto absolute paths. stop it.
Showing the changes to sys/src/cmd/git/commit (1 of 3 files). Show all
Unified · Split
| @@ -135,7 +135,7 @@ if not if(~ $#revise 1){ · 134 unmodified lines | ||
| 135 | 135 | |
| 136 | 136 | files=() |
| 137 | 137 | if(! ~ $#* 0) |
| 138 | − files=`$nl{git/walk -c `$nl{cleanname $gitrel/$*}} | |
| 138 | + files=`$nl{git/walk -c `$nl{cleanname -d $gitrel $*}} | |
| 139 | 139 | if(~ $status '' || ~ $#files 0 && ! test -f .git/index9/merge-parents && ~ $#revise 0) |
| 140 | 140 | die 'nothing to commit' $status |
| 141 | 141 | @{ |