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: NJunio C Hamano <gitster@pobox.com> Helped-by: NPaul Tan <pyokagan@gmail.com> Helped-by: NEric Sunshine <sunshine@sunshineco.com> Signed-off-by: NMehul Jain <mehul.jain2029@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录