config: run setup_git_directory_gently() sooner
commit3ba7e6e29afd67e69ff5963d8ed76728824959a0
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 6 Aug 2010 03:15:09 +0000 (5 22:15 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Aug 2010 02:57:41 +0000 (15 19:57 -0700)
tree896e7b8b62d1ce6aed4b07be408fdc01e6d6223b
parent2cb60093e6c6b53cfc8ffe75f697386a1adab778
config: run setup_git_directory_gently() sooner

For the pager choice (and the choice to paginate) to reflect the
current repository configuration, the repository needs to be
located first.

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