git/revert: revert
the old implementation was correct; we want to mark it dirty and let walk sort it out.
This commit is contained in:
parent
ca6058e0e1
commit
dd7352fd35
1 changed files with 2 additions and 4 deletions
|
@ -14,9 +14,7 @@ if(~ $#query 1)
|
|||
files=`$nl{cleanname -d $gitrel $*}
|
||||
for(f in `$nl{cd $commit/tree/ && walk -f $files}){
|
||||
mkdir -p `{basename -d $f}
|
||||
if(cp -x -- $commit/tree/$f $f)
|
||||
walk -eq $f > .git/index9/tracked/$f
|
||||
if not
|
||||
echo -n > .git/index9/tracked/$f
|
||||
cp -x -- $commit/tree/$f $f
|
||||
git/add $f
|
||||
}
|
||||
exit ''
|
||||
|
|
Loading…
Reference in a new issue