shithub: git9

Download patch

ref: f4da816bf3faa3aca914af1a48c93b3c5b7f8892
parent: 189059cc9a4f0570e25c4d580379c4119f371a06
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Feb 25 14:39:58 EST 2020

filter out leading ./ to make 'log .' work

--- a/log
+++ b/log
@@ -36,7 +36,7 @@
 	commits=`{git/query $query}
 
 if(! ~ $#* 0)
-	files=`"{walk -f $gitrel^$* | sort}
+	files=`"{walk -f $gitrel/^$* | sed 's@^\./@@' | sort}
 
 while(! ~ $#commits 0){
 	ids=$nids