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

Re: git add -i doesn't update permissions

From
Wincent Colaiuta <win@wincent.com>
Date
Mar 27, 2008, 06:32 UTC
Message-ID
<0F970CFF-EA4A-46D8-BB1D-345C3513B124@wincent.com>
In-Reply-To
<20080327055746.GA8469@coredump.intra.peff.net>
El 27/3/2008, a las 6:57, Jeff King escribió:
Show 9 quoted lines
> Now, if you are interested in adding the mode change of a file but  
> _not_
> its content, I think that is a reasonable thing to ask for. And it's
> something that is not possible with "add -i" right now, I don't think.
> You seemed to expect that 'p' would present the mode change and say  
> "do
> you want to stage this?" which I think is a reasonable interface.  
> Though
> in that case "[p]atch" should perhaps be "[p]artial update".
Or even "[p]ick" (changes to be staged), which is a bit shorter.

But yes, I've always thought that "[p]atch" didn't really describe what that subcommand really does.

Cheers, Wincent

Previous: Jeff KingNext: Junio C Hamano
Message 4 of 5 in “git add -i doesn't update permissions”
  1. Jörg SommerMar 26, 2008
  2. Jeff KingMar 27, 2008
  3. Jeff KingMar 27, 2008
  4. Wincent ColaiutaMar 27, 2008
  5. Junio C HamanoMar 27, 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.