Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make '!' aliases more useful
[gitweb.git]
/
git-filter-branch.sh
diff --git
a/git-filter-branch.sh
b/git-filter-branch.sh
index 8fa5ce6467b12119868a4c3c74c3e3740f6d6b8e..a2fcebc1c63082db03445b65e340286d0c129903 100644
(file)
--- a/
git-filter-branch.sh
+++ b/
git-filter-branch.sh
@@
-312,9
+312,10
@@
case "$GIT_DIR" in
/*)
;;
*)
-
export
GIT_DIR="$(pwd)/../../$GIT_DIR"
+ GIT_DIR="$(pwd)/../../$GIT_DIR"
;;
esac
+export GIT_DIR GIT_WORK_TREE=.
export GIT_INDEX_FILE="$(pwd)/../index"
git-read-tree # seed the index file