summaryrefslogtreecommitdiff
path: root/templates/hooks--prepare-commit-msg.sample
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-10-14 21:27:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-10-14 23:38:39 -0700
commiteee0184da8457c1dbd4418f95d158917540da094 (patch)
treef2920493adc997f099abae2dd6384b7bce990e4b /templates/hooks--prepare-commit-msg.sample
parentUpdate draft release notes to 1.6.1 (diff)
downloadtgif-eee0184da8457c1dbd4418f95d158917540da094.tar.xz
Fix reading of cloud tags
The projectroot path could have SP in it, in which case iterating over <$git_dir/ctags/*> does not correctly enumerate the cloud tags files at all. This can be observed by creating an empty t/trash directory and running t9500 test. The $projectroot ends with "trash directory.t9500-gitweb-/" and <$glob> would give "trash", which can be opened and reading from it immediately yields undef, which in turn gives an undef value warning to the standard error stream upon attempt to chomp it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--prepare-commit-msg.sample')
0 files changed, 0 insertions, 0 deletions