]> Lady’s Gitweb - Gitweb/commit
Fix reading of cloud tags
authorJunio C Hamano <redacted>
Wed, 15 Oct 2008 04:27:12 +0000 (21:27 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commit409813c59f3f735c71c9ad28f9e8a77728f344646b953f0ac6403fe36f866c7f
tree503b0f5b5f85087867ef279f8d23a161db912cda6d29ef2f9e7ec3adcb52a00a
parent92a6813f12a45fee5d5820e60d42b67f7599db9a4df2f0ea93f80ff72d89d9f5
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 <redacted>
gitweb.perl
This page took 0.198167 seconds and 4 git commands to generate.