ref: b49d80483a51ef522fcd1a38079fd904a2f0f87a
parent: d7f569ae4700bea47f16f4e387d0d49c8f9a817d
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jun 28 19:40:40 EDT 2021
git/revert: fix previous commit (helps if you save the file, thanks qwx) git/revert: fix previous commit (helps if you save the file, thanks qwx)
--- a/sys/src/cmd/git/revert
+++ b/sys/src/cmd/git/revert
@@ -15,8 +15,8 @@
for(f in `$nl{cd $commit/tree/ && walk -f $files}){
mkdir -p `{basename -d $f}
if(cp -x -- $commit/tree/$f $f)
- walk -eq $m > .git/index9/tracked/$m
+ walk -eq $f > .git/index9/tracked/$f
if not
- echo -n > .git/index9/tracked/$m
+ echo -n > .git/index9/tracked/$f
}
exit ''
--
⑨