diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-09-05 10:40:39 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-05 12:25:22 -0700 |
commit | 625c3304e200f9bdc05626be1397311faa4962ba (patch) | |
tree | 1919e135d6040a280c7415a71b3e3c59f43e2f6e /builtin/diff.c | |
parent | pathspec: catch prepending :(prefix) on pathspec with short magic (diff) | |
download | tgif-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