RFC Example of pull.mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Add pull.modeDocumentation/ Documentation/ Documentation/ +4 more | +158 | 0 replies | |
| 2/2 | pull: improve --rebase and pull.rebase interactionbuiltin/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Example of pull.mode
The discussions about the default mode of pull never end, since there's yet another discussion [1] about the relationship with pull.rebase=merges I'm sending a condensed version of my git update patches [2] which were not properly considered, but they solve the issue.
The two configurations in particular that are currently broken are:
git config pull.mode merge
git config pull.rebase merges
git pull --rebase # same as --rebase=merges
And:
git config pull.rebase true
git pull --no-ff # no mode specified
These patches are *not* meant to be merged, they are just meant as reference for the new discussion.
I have the patches properly split and with tests, which I avoided here for the sake of simplicity.
[1] https://lore.kernel.org/git/[email protected]/
[2] https://lore.kernel.org/git/[email protected]/
Felipe Contreras (2):
Add pull.mode
pull: improve --rebase and pull.rebase interaction
Documentation/config/branch.txt | 5 + Documentation/config/pull.txt | 6 ++ Documentation/git-pull.txt | 15 +-- builtin/pull.c | 157 ++++++++++++++++++++++---------- rebase.c | 12 +++ rebase.h | 13 ++- t/t7601-merge-pull-config.sh | 30 +++--- 7 files changed, 166 insertions(+), 72 deletions(-)
Signature · 1 line
2.39.2