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

Re: committing selected 'changed' or 'added' files works, but not 'removed'

From
Jim Meyering <jim@meyering.net>
Date
May 14, 2007, 12:48 UTC
Message-ID
<87646vh8p6.fsf@rho.meyering.net>
In-Reply-To
<7viravonmj.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
> You could do something like this...
...
Show 5 quoted lines
> -- >8 --
> git-commit: Allow removal to be partially committed as well
>
> We allow partial commit of modified and added files but never
> handled removed files.  This hacks it around.

Nice! Thanks for the quick patch. I liked the test cases :-)

Previous: Junio C Hamano
Message 3 of 3 in “committing selected 'changed' or 'added' files works, but not 'removed'”
  1. Jim MeyeringMay 14, 2007
  2. Junio C HamanoMay 14, 2007
  3. Jim MeyeringMay 14, 2007

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.