Re: Possible bug in Git
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Apr 16, 2010, 00:38 UTC
- Message-ID
- <o2w76718491004151738zb2deaad1p3f7360a437725c4d@mail.gmail.com>
- In-Reply-To
- <k2n32541b131004151713s51498b01s34c5a95c0f360901@mail.gmail.com>
On Thu, Apr 15, 2010 at 8:13 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
> true >profile # blank the file > git commit -a -m resolved > git show HEAD:profile > # no output
Well, I wouldn't expect output from show HEAD:profile. But this is odd::
$ git diff HEAD^1 --name-status M profile
$ git diff HEAD^2 --name-status M profile
$ git diff-tree HEAD --name-status <no output>
Hmfph. "git log -m -p -1" at least gives the diffs from each side.
j.