summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorLibravatar Matthias Lederhofer <matled@gmx.net>2007-06-06 09:16:56 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-06-06 16:08:37 -0700
commit9489d0f197185d584294aa99a09a1b3c5ebb25e0 (patch)
tree73db17ebbfe1bece12ffbcbfe236ad86ab56c672 /show-index.c
parentMerge branch 'js/filter' into ei/worktree+filter (diff)
downloadtgif-9489d0f197185d584294aa99a09a1b3c5ebb25e0.tar.xz
filter-branch: always export GIT_DIR if it is set
Currently filter-branch exports GIT_DIR only if it is an relative path but git-sh-setup might also set GIT_DIR to an absolute path that is not exported yet. Additionally export GIT_WORK_TREE with GIT_DIR to ensure that cwd is used as working tree even for bare repositories. Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'show-index.c')
0 files changed, 0 insertions, 0 deletions