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

Re: New git commit tool

From
Jonas Fonseca <fonseca@diku.dk>
Date
Sep 5, 2006, 16:46 UTC
Message-ID
<20060905164652.GB5547@diku.dk>
In-Reply-To
<17660.40934.605502.248266@cargo.ozlabs.ibm.com>
Paul Mackerras <paulus@samba.org> wrote Tue, Sep 05, 2006:
Show 11 quoted lines
> Jonas Fonseca writes:
> 
> >     I am a Cogito user, so I am no used to running git-update-index and
> >     this seems to be a problem in this case:
> > 
> > 	can't unset "indexpending(gitool)": no such element in array
> 
> Hmmm, I didn't think that could happen. :) It can only happen if some
> file gets listed twice in the output from "git-diff-index HEAD".
> Could you send me the output of "git-diff-index HEAD" and
> "git-diff-index --cached HEAD" in that repository?

~/gitool > git-diff-index HEAD fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions ~/gitool > git-diff-index --cached HEAD fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions ~/gitool > cat .git/HEAD ref: refs/heads/master ~/gitool > ls .git/refs/heads/ ~/gitool >

> And no, you don't need to run git-update-index, gitool does that for
> you.

Good to hear, but I swear the first time I ran gitool in a repo of mine it popped up the error dialog with the details saying:

	fileX: needs update
Now, of course, I cannot reproduce it.
-- 
Jonas Fonseca
Previous: Paul Mackerras
Message 9 of 9 in “New git commit tool”
  1. Paul MackerrasSep 4, 2006
  2. Jakub NarebskiSep 4, 2006
  3. Linus TorvaldsSep 4, 2006
  4. Paul MackerrasSep 4, 2006
  5. Linus TorvaldsSep 4, 2006
  6. Karl HasselströmSep 5, 2006
  7. Jonas FonsecaSep 4, 2006
  8. Paul MackerrasSep 4, 2006
  9. Jonas FonsecaSep 5, 2006

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.