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

Re: [feature wishlist] add commit subcommand to git add -i

From
Thomas Rast <trast@student.ethz.ch>
Date
Aug 15, 2011, 12:54 UTC
Message-ID
<201108151454.29912.trast@student.ethz.ch>
In-Reply-To
<CAJfuBxwW8Dyp8FTS13uPOBKZGL9JOEqaSOhGN+zBJ_8BHpJE3g@mail.gmail.com>
Jim Cromie wrote:
Show 10 quoted lines
> [f]ragment would also be handy, which would break each chunk of a diff
> into a separate commit, with the summary line provided automatically
> <file> @@ -696,7 +692,7 @@ int foo ...
> 
> This would help a bit with random cleanups, since rebase -i could then
> be used to
> reorder and recombine the fragments, and edit the commit messages afterwards.
> 
> going further, if git rebase -i  had ability to  "back" a fixup patch
> back to where it should have been
This little script may be of interest to you:
  http://article.gmane.org/gmane.comp.version-control.git/163621
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jim Cromie
Message 6 of 6 in “[feature wishlist] add commit subcommand to git add -i”
  1. Jim CromieAug 14, 2011
  2. Conrad IrwinAug 14, 2011
  3. Jim CromieAug 15, 2011
  4. Ramkumar RamachandraAug 14, 2011
  5. Jim CromieAug 15, 2011
  6. Thomas RastAug 15, 2011

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.