summaryrefslogtreecommitdiff
path: root/archive-zip.c
diff options
context:
space:
mode:
authorLibravatar Clemens Buchacher <drizzd@aon.at>2009-09-05 14:31:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-09-07 15:03:04 -0700
commit493b7a08d80535def6756b281873e4e0937ba6c2 (patch)
tree43d63705e1e0e3951e7c3acc61a89e2c96bcf518 /archive-zip.c
parentgrep: fix exit status if external_grep() punts (diff)
downloadtgif-493b7a08d80535def6756b281873e4e0937ba6c2.tar.xz
grep: accept relative paths outside current working directory
"git grep" would barf at relative paths pointing outside the current working directory (or subdirectories thereof). Use quote_path_relative(), which can handle such cases just fine. [jc: added tests.] Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-zip.c')
0 files changed, 0 insertions, 0 deletions