Re: Possible bug in Git
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Apr 16, 2010, 00:45 UTC
- Message-ID
- <u2t32541b131004151745k5284b05egfcbbd29d69bd9d94@mail.gmail.com>
- In-Reply-To
- <o2w76718491004151738zb2deaad1p3f7360a437725c4d@mail.gmail.com>
On Thu, Apr 15, 2010 at 8:38 PM, Jay Soffian <jaysoffian@gmail.com> wrote:
Show 18 quoted lines
> 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.
Whoops, actually I meant "git show HEAD profile". Totally different, of course. But it doesn't produce output either :)
Have fun,
Avery