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, 05:44 UTC
Message-ID
<7vwsrv9fos.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<058EB5A2-1EFE-43B9-9886-7272A955CE51@mit.edu>
Reid Barton <rwbarton@MIT.EDU> writes:
> When the working directory is not the top of the working tree, git-
> add--interactive fails silently and confusingly.
Sheesh, you got me worried.

This is a non issue; git-add--interactive is not for direct end user consumption. It relies on being run from git-add wrapper, which does cdup to the top of the work tree before launching add--interactive helper.

Previous: Reid BartonNext: Reid Barton
Message 2 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.