Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-new-workdir: mark script as LF-only
[gitweb.git]
/
git-filter-branch.sh
diff --git
a/git-filter-branch.sh
b/git-filter-branch.sh
index 86b2ff1e07614846465109dcb4b9afed11013839..2b8cdba157d9cd822acc88b7ec58cecda0149b85 100755
(executable)
--- a/
git-filter-branch.sh
+++ b/
git-filter-branch.sh
@@
-46,6
+46,8
@@
git_commit_non_empty_tree()
{
if test $# = 3 && test "$1" = $(git rev-parse "$3^{tree}"); then
map "$3"
+ elif test $# = 1 && test "$1" = 4b825dc642cb6eb9a060e54bf8d69288fbee4904; then
+ :
else
git commit-tree "$@"
fi