summaryrefslogtreecommitdiff
path: root/gitk-git/gitk
diff options
context:
space:
mode:
authorLibravatar Johan Herland <johan@herland.net>2008-02-12 00:43:41 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-02-12 19:57:07 -0800
commita72375948528935bbd4cb34bf277b49e0114aac3 (patch)
tree765678379678779e55f11a06a67d76b339b08a30 /gitk-git/gitk
parentAdd testcase for 'git cvsexportcommit -w $cvsdir ...' with relative $GIT_DIR (diff)
downloadtgif-a72375948528935bbd4cb34bf277b49e0114aac3.tar.xz
Fix 'git cvsexportcommit -w $cvsdir ...' when used with relative $GIT_DIR
When using the '-w $cvsdir' option to cvsexportcommit, it will chdir into $cvsdir before executing several other git commands. If $GIT_DIR is set to a relative path (e.g. '.'), the git commands executed by cvsexportcommit will naturally fail. Therefore, ensure that $GIT_DIR is absolute before the chdir to $cvsdir. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitk-git/gitk')
0 files changed, 0 insertions, 0 deletions