summaryrefslogtreecommitdiff
path: root/builtin/diff-tree.c
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2016-01-12 11:40:26 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-12 10:54:31 -0800
commitecd9ba61778e436dde12f08781a12ad1149d5ebf (patch)
tree5d4415cd5ae4acbeabdd3bfcb1ec97494a299e77 /builtin/diff-tree.c
parentt7810: correct --no-index test (diff)
downloadtgif-ecd9ba61778e436dde12f08781a12ad1149d5ebf.tar.xz
builtin/grep: add grep.fallbackToNoIndex config
Currently when git grep is used outside of a git repository without the --no-index option git simply dies. For convenience, add a grep.fallbackToNoIndex configuration variable. If set to true, git grep behaves like git grep --no-index if it is run outside of a git repository. It defaults to false, preserving the current behavior. Helped-by: Jeff King <peff@peff.net> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-tree.c')
0 files changed, 0 insertions, 0 deletions