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

Re: git-commit goes awry after git-add -u

From
Salikh Zakirov <salikh@gmail.com>
Date
Aug 15, 2007, 14:21 UTC
Message-ID
<f9v266$uph$2@sea.gmane.org>
In-Reply-To
<f9v1t6$uph$1@sea.gmane.org>
Salikh Zakirov wrote:
Show 6 quoted lines
> Alternative sequence of commands, not involving 'git-add -u' produces
> correct results (without output for compactness)
> $ git add vm/em
> $ git rm -r vm/vmcore/src/util/ipf
> $ git rm -r vm/vmcore/src/util/em64t
> $ git rm -r vm/em/src/ia32

Sorry, forgot an important command in the sequence: $ git commit -m moved

> $ git status
> # On branch master
> nothing to commit (working directory clean)
Previous: Salikh ZakirovNext: Junio C Hamano
Message 2 of 6 in “git-commit goes awry after git-add -u”
  1. Salikh ZakirovAug 15, 2007
  2. Salikh ZakirovAug 15, 2007
  3. Junio C HamanoAug 15, 2007
  4. Fix "git add -u" data corruption.Junio C Hamano, Aug 15, 2007
  5. Zakirov SalikhAug 16, 2007
  6. Salikh ZakirovAug 15, 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.