From: Junio C Hamano <gitster@pobox.com>
To: Dan Zwell <dzwell@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git-diff not showing changes (corrupt repo?)
Date: Tue, 02 Oct 2007 12:15:42 -0700 [thread overview]
Message-ID: <7vbqbhl44h.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <47029414.3080100@gmail.com> (Dan Zwell's message of "Tue, 02 Oct 2007 13:55:16 -0500")
Dan Zwell <dzwell@gmail.com> writes:
> ... It is the same after I commit the new changes--at that point,
> "git-diff-tree HEAD^ HEAD -p" spits out a nice patch, but "git-diff
> HEAD^ HEAD" gives nothing.
This part is most interesting. They are both about comparing
two commits and do not interact with anything in the work tree
nor your index.
> I have tried git versions 1.5.1.6-1.5.3.3, and they all act the same,
Do you mean 1.5.1.5 was Ok? Can you bisect it?
> so I think the repository is corrupt. Does sound familiar to anybody?
Not to me; and I do not think repository is corrupt from the two
"HEAD^ vs HEAD" diff. There is something entirely different
going on.
> ... I can
> restore from a recent backup and redo some changes, but I would like
> to help troubleshoot this behavior if it is a git bug.
Thanks.
next prev parent reply other threads:[~2007-10-02 19:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 18:55 git-diff not showing changes (corrupt repo?) Dan Zwell
2007-10-02 19:15 ` Junio C Hamano [this message]
2007-10-03 3:17 ` Dan Zwell
2007-10-03 3:23 ` Jeff King
2007-10-03 4:00 ` Dan Zwell
2007-10-03 4:38 ` Jeff King
2007-10-03 3:44 ` Linus Torvalds
2007-10-02 19:17 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vbqbhl44h.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=dzwell@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).