Commit c48d73b
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 <gitster@pobox.com>
Helped-by: Paul Tan <pyokagan@gmail.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Mehul Jain <mehul.jain2029@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ab5d01a commit c48d73b
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
305 | 306 | | |
306 | 307 | | |
307 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
308 | 321 | | |
309 | 322 | | |
310 | 323 | | |
| |||
823 | 836 | | |
824 | 837 | | |
825 | 838 | | |
826 | | - | |
| 839 | + | |
827 | 840 | | |
828 | 841 | | |
829 | 842 | | |
| |||
835 | 848 | | |
836 | 849 | | |
837 | 850 | | |
838 | | - | |
| 851 | + | |
839 | 852 | | |
840 | 853 | | |
841 | 854 | | |
842 | 855 | | |
843 | | - | |
844 | 856 | | |
845 | 857 | | |
846 | 858 | | |
| |||
0 commit comments