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

[PATCH v2 0/3] rebase -i: mark commits that begin empty in todo editor

From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 10, 2020, 17:51 UTC
Message-ID
<pull.757.v2.git.git.1586541094.gitgitgadget@gmail.com>
In-Reply-To
<pull.757.git.git.1586474800276.gitgitgadget@gmail.com>
Changes since v1:
 * Resurrect --no-keep-empty (for commits which begin empty), which can be
   used orthogonally to --empty (for commits which become empty). Docs
   updated as well
 * Add a commit improving the error message for --apply being used with
   non-apply arguments

I wanted to base this commit on jt/rebase-allow-duplicate, in particular to add a patch moving his new --[no-]keep-cherry-picks arguments to be close to the --empty={drop,keep,ask} and --[no-]keep-empty flags, since all three are related. But unfortunately that series was based on 2.25, and my series needs to be based on 2.26. So, for now, I'm just keeping the two series independent and will submit a fixup patch after these two are both merged down to move all the arguments near each other.

Elijah Newren (3):
  rebase -i: mark commits that begin empty in todo editor
  rebase: reinstate --no-keep-empty
  rebase: fix an incompatible-options error message
 Documentation/git-rebase.txt      | 36 +++++++++++++++++--------------
 builtin/rebase.c                  | 17 +++++++++------
 sequencer.c                       | 11 ++++++++++
 sequencer.h                       |  2 +-
 t/t3421-rebase-topology-linear.sh | 10 ++++-----
 t/t3424-rebase-empty.sh           | 36 +++++++++++++++++++++++++++++++
 6 files changed, 82 insertions(+), 30 deletions(-)
base-commit: 274b9cc25322d9ee79aa8e6d4e86f0ffe5ced925
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-757%2Fnewren%2Frebase-mark-empty-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-757/newren/rebase-mark-empty-v2
Pull-Request: https://github.com/git/git/pull/757
Range-diff vs v1:
 1:  0d94eea376a = 1:  0d94eea376a rebase -i: mark commits that begin empty in todo editor
 -:  ----------- > 2:  e15c599c874 rebase: reinstate --no-keep-empty
 -:  ----------- > 3:  ee5e42361fc rebase: fix an incompatible-options error message
-- 
gitgitgadget
Previous: Junio C HamanoNext: Elijah Newren via GitGitGadget
Message 5 of 27 in “rebase -i: mark commits that begin empty in todo editor”
  1. rebase -i: mark commits that begin empty in todo editorElijah Newren via GitGitGadget, Apr 9, 2020
  2. Junio C HamanoApr 10, 2020
  3. Bryan TurnerApr 10, 2020
  4. Junio C HamanoApr 10, 2020
  5. 0/3 rebase -i: mark commits that begin empty in todo editorElijah Newren via GitGitGadget, Apr 10, 2020
  6. 1/3 rebase -i: mark commits that begin empty in todo editorElijah Newren via GitGitGadget, Apr 10, 2020
  7. 2/3 rebase: reinstate --no-keep-emptyElijah Newren via GitGitGadget, Apr 10, 2020
  8. Junio C HamanoApr 10, 2020
  9. Elijah NewrenApr 10, 2020
  10. 3/3 rebase: fix an incompatible-options error messageElijah Newren via GitGitGadget, Apr 10, 2020
  11. Junio C HamanoApr 10, 2020
  12. Junio C HamanoApr 10, 2020
  13. Junio C HamanoApr 10, 2020
  14. Elijah NewrenApr 10, 2020
  15. Junio C HamanoApr 10, 2020
  16. Elijah NewrenApr 10, 2020
  17. Junio C HamanoApr 10, 2020
  18. Elijah NewrenApr 11, 2020
  19. Junio C HamanoApr 11, 2020
  20. 0/4 rebase -i: mark commits that begin empty in todo editorElijah Newren via GitGitGadget, Apr 11, 2020
  21. 2/4 rebase: reinstate --no-keep-emptyElijah Newren via GitGitGadget, Apr 11, 2020
  22. 1/4 rebase -i: mark commits that begin empty in todo editorElijah Newren via GitGitGadget, Apr 11, 2020
  23. Junio C HamanoApr 15, 2020
  24. 3/4 rebase: fix an incompatible-options error messageElijah Newren via GitGitGadget, Apr 11, 2020
  25. 4/4 rebase --merge: optionally skip upstreamed commitsJonathan Tan via GitGitGadget, Apr 11, 2020
  26. Jonathan TanApr 11, 2020
  27. Phillip WoodApr 14, 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.