summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-11-20 08:26:41 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-11-20 15:04:51 -0800
commit887c6c18ba84da8d722b1528fe8cdde65d9f9860 (patch)
tree7e8ff8c29391b7b89d51fc7b1a3ddfb13d987d47 /git-am.sh
parentFix calling parse_pathspec with no paths nor PATHSPEC_PREFER_* flags (diff)
downloadtgif-887c6c18ba84da8d722b1528fe8cdde65d9f9860.tar.xz
diff: restrict pathspec limitations to diff b/f case only
builtin_diff_b_f() needs a path, not pathspec. Other modes in diff can deal with pathspec just fine. But because of the current GUARD_PATHSPEC() location, other modes also reject :(glob) and :(icase). Move GUARD_PATHSPEC(), and the "path" assignment statement, which is the reason of this GUARD_PATHSPEC(), inside builtin_diff_b_f(). 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 'git-am.sh')
0 files changed, 0 insertions, 0 deletions