Fix read-tree merging more than 3 trees using 3-way merge
[gitweb.git] / git-filter-branch.sh
index b5fa44920d40d3144567509a6922a07bb87977ae..c42e4512cfb529223f196abd546a988b9809b0ef 100755 (executable)
@@ -170,13 +170,6 @@ do
        esac
 done < "$tempdir"/backup-refs
 
-case "$GIT_DIR" in
-/*)
-       ;;
-*)
-       GIT_DIR="$(pwd)/../../$GIT_DIR"
-       ;;
-esac
 export GIT_DIR GIT_WORK_TREE=.
 
 # These refs should be updated if their heads were rewritten