X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-filter-branch.sh;h=a2fcebc1c63082db03445b65e340286d0c129903;hb=967506bbbdc38e75263d6e6a90e3b8dbba6cec0f;hp=8fa5ce6467b12119868a4c3c74c3e3740f6d6b8e;hpb=9bee7aabcd74bf112fcdaf255551147feca8f66c;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