summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-08-05 22:06:39 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-08-11 09:24:26 -0700
commitff38d1a9953b3bce7741f8f962c5e067fda2d9ea (patch)
treeaec778e283505a8d9194be1461f3b698eb813e27 /branch.h
parentshortlog: run setup_git_directory_gently() sooner (diff)
downloadtgif-ff38d1a9953b3bce7741f8f962c5e067fda2d9ea.tar.xz
grep: run setup_git_directory_gently() sooner
git grep already runs a repository search unconditionally, even when the --no-index option is supplied; running such a search earlier is not very risky. Just like with shortlog, without this change, the “[pager] grep” configuration is not respected at all. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions