diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-07-14 15:36:03 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-15 10:56:09 -0700 |
commit | 645a29c40a12a4ade1b041dce246ae241c502a64 (patch) | |
tree | 9e24d8d5df40ea892967df3bbfa22e5ba4c2c064 /builtin/tag.c | |
parent | rename field "raw" to "_raw" in struct pathspec (diff) | |
download | tgif-645a29c40a12a4ade1b041dce246ae241c502a64.tar.xz |
parse_pathspec: make sure the prefix part is wildcard-free
Prepending prefix to pathspec is a trick to workaround the fact that
commands can be executed in a subdirectory, but all git commands run
at worktree's root. The prefix part should always be treated as
literal string. Make it so.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/tag.c')
0 files changed, 0 insertions, 0 deletions