X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-filter-branch.sh;h=a2fcebc1c63082db03445b65e340286d0c129903;hb=71e55854fd6e5c9ce786bcd20efef43bd56f9df0;hp=8fa5ce6467b12119868a4c3c74c3e3740f6d6b8e;hpb=4d9b58076395899e2501b7c2b3527c998f61619e;p=git.git diff --git a/git-filter-branch.sh b/git-filter-branch.sh index 8fa5ce646..a2fcebc1c 100644 --- 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