git: handle absolute paths better

we were catting $gitrel onto absolute paths. stop it.
This commit is contained in:
Ori Bernstein 2021-06-05 13:40:28 +00:00
parent 4f3437a3cc
commit fd9679d97b
3 changed files with 8 additions and 7 deletions

View file

@ -12,7 +12,7 @@ if(~ $#commit 0)
files=()
if(! ~ $#* 0)
files=`{cleanname $gitrel/$*}
files=`{cleanname -d $gitrel $*}
branch=`{git/query -p $commit}
if(~ $summarize 1){