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