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

Re: git-add--interactive works only in top level

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 4, 2007, 17:45 UTC
Message-ID
<7vd4tm5p7a.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<Pine.LNX.4.64.0712041148310.27959@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 12 quoted lines
>> Here he have two options: blame the user for his/her stupidity, or look 
>> at this a UI problem and try to make the UI "idiot proof".
>> 
>> In this particular case I see no impediment to favouring the second 
>> option, because we're not talking about making changes that would make 
>> Git less powerful or useful for "non-idiots", "power users" or "real 
>> men" (whatever you want to call them). In other words, we are not 
>> talking about "dumbing down" Git for the sake of the ignorant. This is 
>> an opportunity to polish the UI in the same way that we polish the 
>> internal pack format.
>
> You know, without patches you will not convince me ;-)
Honestly, I do not want a patch for that to git-add--interactive.

Once WIncent's and Dan's UI enhancements to it becomes stable (not implementation-wise but more interface- and user-experience-wise), rewriting it in C should not be too much of a hassle. When that happens, it won't be a standalone program but will be a function builtin-add.c::interactive_add() will call into and we won't have this problem at that point. If somebody does do a patch, the time is better spent there instead.

Previous: Jakub Narebski
Message 9 of 9 in “git-add--interactive works only in top level”
  1. Reid BartonDec 4, 2007
  2. Junio C HamanoDec 4, 2007
  3. Reid BartonDec 4, 2007
  4. Junio C HamanoDec 4, 2007
  5. Wincent ColaiutaDec 4, 2007
  6. Johannes SchindelinDec 4, 2007
  7. Wincent ColaiutaDec 4, 2007
  8. Jakub NarebskiDec 4, 2007
  9. Junio C HamanoDec 4, 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.