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
/*)
;;
*)
/*)
;;
*)
- export GIT_DIR="$(pwd)/../../$GIT_DIR"
+ GIT_DIR="$(pwd)/../../$GIT_DIR"
;;
esac
;;
esac
+export GIT_DIR GIT_WORK_TREE=.
export GIT_INDEX_FILE="$(pwd)/../index"
git-read-tree # seed the index file
export GIT_INDEX_FILE="$(pwd)/../index"
git-read-tree # seed the index file