git-pull.c: introduce git_pull_config()
authorMehul Jain <redacted>
Mon, 21 Mar 2016 18:18:02 +0000 (23:48 +0530)
committerJunio C Hamano <redacted>
Mon, 21 Mar 2016 20:23:44 +0000 (13:23 -0700)
commitc48d73bdececb38af237450724b1a67307d7a013
treefa51704367996b075e43447c5a61a54d49767664
parentab5d01a29eb7380ceab070f0807c2939849c44bc
git-pull.c: introduce git_pull_config()

git-pull makes a seperate call to git_config_get_bool() to read the value
of "rebase.autostash". This can be reduced as a call to git_config() is
already there in the code.

Introduce a callback function git_pull_config() to read "rebase.autostash"
along with other variables.

Helped-by: Junio C Hamano <redacted>
Helped-by: Paul Tan <redacted>
Helped-by: Eric Sunshine <redacted>
Signed-off-by: Mehul Jain <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/pull.c
git clone https://git.99rst.org/PROJECT