Re: BUG in git diff-index

2016-03-31 Thread Andy Lowry
iff-index --quiet HEAD". Sound correct? Andy On 3/31/2016 10:27 AM, Jeff King wrote: On Thu, Mar 31, 2016 at 10:12:07AM -0400, Andy Lowry wrote: What I'm actually after is a tree-to-filesystem comparison, regardless of index. I've currently got a "diff" thrown in as a

BUG in git diff-index

2016-03-31 Thread Andy Lowry
Thanks, very helpful. What I'm actually after is a tree-to-filesystem comparison, regardless of index. I've currently got a "diff" thrown in as a "work-around" before "diff-index", but now I understand it's not a workaround at all. If there's a better way to achieve what I'm after, I'd appreciate

BUG in git diff-index

2016-03-31 Thread Andy Lowry
Following transcript illustrates what I believe to be a bug in git diff- index. The session used a git built from latest source, located in /tmp/git/git. 1. New repo, create empty file A, commit changes. 2. touch A 3. git diff-index reports A has changed, and reports bogus destination SHA 4. Thi