apply: run setup_git_directory_gently() sooner
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 16 Aug 2010 00:36:12 +0000 (10:36 +1000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Aug 2010 02:56:10 +0000 (19:56 -0700)
commitd1ea896290629185dc0bf4efa3469b410bd41313
treeec3be47a2afe45ac6c845c22d71fd63c2b13fd91
parentff38d1a9953b3bce7741f8f962c5e067fda2d9ea
apply: run setup_git_directory_gently() sooner

As v1.7.2~16^2 (2010-07-14) explains, without this change,
“git --paginate apply” can ignore the repository-local
“[core] pager” configuration.

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>
builtin/apply.c
git.c
t/t7006-pager.sh