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

Re: [PATCH] git add --interactive: Autoselect single patch file

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 22, 2008, 16:00 UTC
Message-ID
<alpine.LSU.1.00.0803221700220.4353@racer.site>
In-Reply-To
<6AA0A7C2-488B-4440-A797-B1B87361801D@wincent.com>
Hi,
On Sat, 22 Mar 2008, Wincent Colaiuta wrote:
Show 15 quoted lines
> El 22/3/2008, a las 15:51, Johannes Schindelin escribió:
> 
> >However, if I already specify (a) file(s), could add -i not go to the 
> >[p]atch option right away?
> 
> That's what I originally wanted and I sent a couple of patches in to 
> that effect some months back. But it was argued that it is useful for 
> passed-in filepatterns to limit the scope of other operations in "git 
> add -i", not just the [p] subcommand, and that in turn lead to the 
> "--patch" option being implemented. I can try to dig up the message-ids 
> in question if you are interested.
> 
> Still, I use the [p] subcommand so often (and almost never use any of 
> the other subcommands offered by "git add -i") that I have "git patch" 
> set up as an alias for "git add --patch".
Ah, I missed the --patch option.

Thanks, Dscho

Previous: Wincent Colaiuta
Message 4 of 4 in “git add --interactive: Autoselect single patch file”
  1. git add --interactive: Autoselect single patch fileJörg Sommer, Mar 22, 2008
  2. Johannes SchindelinMar 22, 2008
  3. Wincent ColaiutaMar 22, 2008
  4. Johannes SchindelinMar 22, 2008

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.