Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: Possible bug in Git

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:48:39

On Thu, Apr 15, 2010 at 8:38 PM, Jay Soffian [off-list ref] wrote:
On Thu, Apr 15, 2010 at 8:13 PM, Avery Pennarun [off-list ref] wrote:
quoted
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help