git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/6] pull: improve default warning

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 24, 2020, 13:30 UTC
Message-ID
<20201124133037.89949-1-felipe.contreras@gmail.com>

This patch series attempts to silence a bit more the default pull warning (when no pull.rebase is configured, or pull.ff).

Basically; display the warning only when a fast-forward merge is not possible.
More work is needed to add a ff-only option.
Felipe Contreras (6):
  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
 builtin/pull.c               | 79 ++++++++++++++++++++----------------
 t/t5521-pull-options.sh      | 22 +++++-----
 t/t7601-merge-pull-config.sh |  8 +++-
 3 files changed, 61 insertions(+), 48 deletions(-)
-- 
2.29.2
Next: Felipe Contreras
Message 1 of 7 in “pull: improve default warning”
  1. 0/6 pull: improve default warningFelipe Contreras, Nov 24, 2020
  2. 1/6 pull: refactor fast-forward checkFelipe Contreras, Nov 24, 2020
  3. 2/6 pull: cleanup autostash checkFelipe Contreras, Nov 24, 2020
  4. 3/6 pull: trivial cleanupFelipe Contreras, Nov 24, 2020
  5. 4/6 pull: move default warningFelipe Contreras, Nov 24, 2020
  6. 5/6 pull: display default warning only when non-ffFelipe Contreras, Nov 24, 2020
  7. 6/6 test: pull-options: revert unnecessary changesFelipe Contreras, Nov 24, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.