summaryrefslogtreecommitdiff
path: root/builtin/diff.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-09-05 10:40:39 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-05 12:25:22 -0700
commit625c3304e200f9bdc05626be1397311faa4962ba (patch)
tree1919e135d6040a280c7415a71b3e3c59f43e2f6e /builtin/diff.c
parentpathspec: catch prepending :(prefix) on pathspec with short magic (diff)
downloadtgif-625c3304e200f9bdc05626be1397311faa4962ba.tar.xz
add: lift the pathspec magic restriction on "add -p"
Since 480ca64 (convert run_add_interactive to use struct pathspec - 2013-07-14), we have unconditionally passed :(prefix)xxx to add-interactive.perl. It implies that all commands add-interactive.perl calls must be aware of pathspec magic, or :(prefix) is barfed. The restriction to :/ only becomes unnecessary. 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/diff.c')
0 files changed, 0 insertions, 0 deletions