Code

gitweb: Don't use quotemeta on internally generated strings
authorLuben Tuikov <ltuikov@yahoo.com>
Thu, 28 Sep 2006 23:51:43 +0000 (16:51 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Sep 2006 01:58:16 +0000 (18:58 -0700)
commita2a3bf7b2baf0ff64c5b5ffc78d54be82d9967f1
tree3bb2c0d8f78f576fee2952121e36619fd3447840
parentba6ef81017a84c2fce822b7ceba74f67dea6919e
gitweb: Don't use quotemeta on internally generated strings

Do not use quotemeta on internally generated strings
such as filenames of snapshot, blobs, etc.
quotemeta quotes any characters not matching /A-Za-z_0-9/.
Which means that we get strings like this:

before: linux\-2\.6\.git\-5c2d97cb31fb77981797fec46230ca005b865799\.tar\.gz
after:  linux-2.6.git-5c2d97cb31fb77981797fec46230ca005b865799.tar.gz

This patch fixes this.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl