pathspec: make --literal-pathspecs disable pathspec magic
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:36:07 +0000 (15:36 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:09 +0000 (10:56 -0700)
commita16bf9dd745a9e43e46d745d850db49358430e46
tree695984bd7293ae822c6e9de91a059b0d6e1c9934
parent5c6933d201fab183a9779dca0fe43bf2f1eca098
pathspec: make --literal-pathspecs disable pathspec magic

--literal-pathspecs and its equivalent environment variable are
probably used for scripting. In that setting, pathspec magic may be
unwanted. Disabling globbing in individual pathspec can be done via
:(literal) magic.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.txt
pathspec.c
t/t6130-pathspec-noglob.sh