bundle: run setup_git_directory_gently() sooner
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 6 Aug 2010 03:12:46 +0000 (22:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Aug 2010 02:57:33 +0000 (19:57 -0700)
commit2cb60093e6c6b53cfc8ffe75f697386a1adab778
tree43c4e669242644580daf10fe2b34b3fbdd156932
parentd1ea896290629185dc0bf4efa3469b410bd41313
bundle: run setup_git_directory_gently() sooner

Without this change, “git -p bundle” does not always
respect the repository-local “[core] pager” setting.

It is hard to notice because subcommands other than
“git bundle unbundle” do not produce much output.

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