Reject non-ff pulls by default
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest10 patches 2 repliesIn review
- v71 patch 9 repliesSuperseded
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | pull: refactor fast-forward checkbuiltin/ | +15 | 0 replies | |
| 2/10 | pull: cleanup autostash checkbuiltin/ | +6 | 0 replies | |
| 3/10 | pull: trivial cleanupbuiltin/ | +3 | 0 replies | |
| 4/10 | pull: move default warningbuiltin/ | +22 | 0 replies | |
| 5/10 | pull: display default warning only when non-ffbuiltin/ t/ | +18 | 0 replies | |
| 6/10 | test: pull-options: revert unnecessary changest/ | +11 | 0 replies | |
| 7/10 | rebase: add REBASE_DEFAULTbuiltin/ rebase.h | +10 | 0 replies | |
| 8/10 | pull: add pull.modeDocumentation/ Documentation/ builtin/ +5 more | +151 | 2 replies | |
| 9/10 | pull: add pull.mode=ff-onlyDocumentation/ Documentation/ builtin/ +4 more | +53 | 0 replies | |
| 10/10 | pull: improve default warningDocumentation/ builtin/ t/ +1 more | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.
Cover letter [PATCH v8 00/10] Reject non-ff pulls by default
This is an attempt to revive the old patch series [1].
Since v7 of the series the pull.mode configuration is added, and the warning has been updated to make use of that.
What is missing from the old series is:
* Add git pull --merge
* Actually change the default to ff-only
Cheers.
[1] https://lore.kernel.org/git/[email protected]/
Felipe Contreras (10):
pull: refactor fast-forward check
pull: cleanup autostash check
pull: trivial cleanup
pull: move default warning
pull: display default warning only when non-ff
test: pull-options: revert unnecessary changes
rebase: add REBASE_DEFAULT
pull: add pull.mode
pull: add pull.mode=ff-only
pull: improve default warning
Documentation/config/branch.txt | 6 ++ Documentation/config/pull.txt | 6 ++ Documentation/git-pull.txt | 17 ++++ builtin/pull.c | 146 ++++++++++++++++++++++---------- builtin/remote.c | 22 ++++- rebase.c | 12 +++ rebase.h | 13 ++- t/t5520-pull.sh | 92 ++++++++++++++++++++ t/t5521-pull-options.sh | 22 ++--- t/t7601-merge-pull-config.sh | 49 ++++------- 10 files changed, 297 insertions(+), 88 deletions(-)
Signature · 1 line
2.29.2