Re: [PATCH v2 2/5] pull: make code more similar to the shell script again

2016-09-12 Thread Junio C Hamano
Johannes Schindelin writes: > When converting the pull command to a builtin, the > require_clean_work_tree() function was renamed and the pull-specific > parts hard-coded. > > This makes it impossible to reuse the code, so let's modify the code to > make it more similar to the original shell scri

[PATCH v2 2/5] pull: make code more similar to the shell script again

2016-09-11 Thread Johannes Schindelin
When converting the pull command to a builtin, the require_clean_work_tree() function was renamed and the pull-specific parts hard-coded. This makes it impossible to reuse the code, so let's modify the code to make it more similar to the original shell script again. Signed-off-by: Johannes Schind