summaryrefslogtreecommitdiff
path: root/Documentation/git-sparse-checkout.txt
diff options
context:
space:
mode:
authorLibravatar Philippe Blain <levraiphilippeblain@gmail.com>2020-11-14 00:34:42 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-16 16:01:13 -0800
commit4f66d79ae301a74cead51e703d566ec5f395beb8 (patch)
tree2bb433c73a6626878c20fb6b6b02c0ca2c367747 /Documentation/git-sparse-checkout.txt
parentGit 2.29.2 (diff)
downloadtgif-4f66d79ae301a74cead51e703d566ec5f395beb8.tar.xz
pull --rebase: compute rebase arguments in separate function
The function 'run_rebase' is responsible for constructing the command line to be passed to 'git rebase'. This includes both forwarding pass-through options given to 'git pull' as well computing the <newbase> and <upstream> arguments to 'git rebase'. A following commit will need to access the <upstream> argument in 'cmd_pull' to fix a bug with 'git pull --rebase --recurse-submodules'. In order to do so, refactor the code so that the <newbase> and <upstream> commits are computed in a new, separate function, 'get_rebase_newbase_and_upstream'. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-sparse-checkout.txt')
0 files changed, 0 insertions, 0 deletions