summaryrefslogtreecommitdiff
path: root/Documentation/howto-index.sh
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2008-02-11 23:43:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-27 19:35:09 (GMT)
commit12f0a5ea7dc999bfe06973bf61261fc809c2b2fb (patch)
treee7a83d864a852fe0f177b1ddb242b476d3aedb07 /Documentation/howto-index.sh
parent9057f0a62c8681bcff8460fec80747a6aa5b43c8 (diff)
downloadgit-12f0a5ea7dc999bfe06973bf61261fc809c2b2fb.zip
git-12f0a5ea7dc999bfe06973bf61261fc809c2b2fb.tar.gz
git-12f0a5ea7dc999bfe06973bf61261fc809c2b2fb.tar.bz2
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 'Documentation/howto-index.sh')
0 files changed, 0 insertions, 0 deletions