shithub: git9

Download patch

ref: 456c8a2c6020420792f0c1f6ca0e23da24a05aca
parent: 42be0bc6e14206449c2b41877cfd1468b0af6300
author: Ori Bernstein <[email protected]>
date: Tue Nov 17 23:32:26 EST 2020

git/revert: use query to query (thanks qwx)

oops.

--- a/revert
+++ b/revert
@@ -9,7 +9,7 @@
 
 commit=/mnt/git/HEAD
 if(~ $#query 1)
-	commit=`{git/query -p $commit}
+	commit=`{git/query -p $query}
 
 for(f in `$nl{cd $commit/tree/ && walk -f ./$gitrel/$*}){
 	mkdir -p `{basename -d $f}