projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add --continue and --abort options to git-rebase.
[git.git]
/
git-reset.sh
diff --git
a/git-reset.sh
b/git-reset.sh
index
fe53fc8
..
6cb073c
100755
(executable)
--- a/
git-reset.sh
+++ b/
git-reset.sh
@@
-88,6
+88,9
@@
case "$reset_type" in
# it is ok if this fails -- it may already
# have been culled by checkout-index.
unlink $_;
+ while (s|/[^/]*$||) {
+ rmdir($_) or last;
+ }
}
}
' $tmp-exists