summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-01-07 07:33:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-07 07:33:44 (GMT)
commitd3fa84d52873cdf3852e41b684ab93475fe4424f (patch)
tree6f6fe8873da9513213974f837232993513ae4193 /commit.h
parent85cf82ff01ed975c31b75540afb1b251da5259fd (diff)
parentc525de335e4a3919d49a9126b76d1288f35737be (diff)
downloadgit-d3fa84d52873cdf3852e41b684ab93475fe4424f.zip
git-d3fa84d52873cdf3852e41b684ab93475fe4424f.tar.gz
git-d3fa84d52873cdf3852e41b684ab93475fe4424f.tar.bz2
Merge branch 'fc/pull-merge-rebase'
When a user does not tell "git pull" to use rebase or merge, the command gives a loud message telling a user to choose between rebase or merge but creates a merge anyway, forcing users who would want to rebase to redo the operation. Fix an early part of this problem by tightening the condition to give the message---there is no reason to stop or force the user to choose between rebase or merge if the history fast-forwards. * fc/pull-merge-rebase: pull: display default warning only when non-ff pull: correct condition to trigger non-ff advice pull: get rid of unnecessary global variable pull: give the advice for choosing rebase/merge much later pull: refactor fast-forward check
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions