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

Re: [PATCH] git-add --interactive (wip)

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Dec 11, 2006, 10:47 UTC
Message-ID
<200612111147.44964.Josef.Weidendorfer@gmx.de>
In-Reply-To
<7vslfm23co.fsf_-_@assigned-by-dhcp.cox.net>
On Monday 11 December 2006 10:23, Junio C Hamano wrote:
> A script to be driven when the user says "git add --interactive"
> is introduced.

Cool. Just allowing to unstage files this way makes me happy, thanks.

I just tried to work with this thing to separate my recent "branch.*.localmerge" changes to the simple version I posted afterwards.

I noted that I need to manually change a few dependent hunks, so this "one hunk at a time" and not being able to edit changes in a hunk does not fit my workflow. Just as a sidenote: after deciding to not apply hunks, you lose them in this WIP, as you will find nothing in "unstaged" mode afterwards :-(

Despite not having a patch for it right now, it would work out better for me to open the editor with the patch for one file, and allow to edit it to *replace* the staged version.

Neverless, thanks for this WIP,
Previous: Junio C HamanoNext: Junio C Hamano
Message 11 of 20 in “Re: git-commit: select which files to commit while editing the commit message”
  1. Jakub NarebskiDec 8, 2006
  2. Luben TuikovDec 8, 2006
  3. Josef WeidendorferDec 8, 2006
  4. Seth FalconDec 8, 2006
  5. Jakub NarebskiDec 9, 2006
  6. Seth FalconDec 9, 2006
  7. Junio C HamanoDec 9, 2006
  8. Josef WeidendorferDec 10, 2006
  9. Junio C HamanoDec 10, 2006
  10. git-add --interactive (wip)Junio C Hamano, Dec 11, 2006
  11. Josef WeidendorferDec 11, 2006
  12. Junio C HamanoDec 12, 2006
  13. Johannes SchindelinDec 12, 2006
  14. Andreas EricssonDec 13, 2006
  15. Josef WeidendorferDec 13, 2006
  16. Junio C HamanoDec 13, 2006
  17. Johannes SchindelinDec 13, 2006
  18. Shawn PearceDec 13, 2006
  19. Johannes SchindelinDec 13, 2006
  20. Josef WeidendorferDec 13, 2006

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.