Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Support diff.autorefreshindex=true in `git-diff --quiet'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:16

Karl Chen [off-list ref] writes:
When diff.autorefreshindex is true, if a file has merely been 'touched'
(mtime changed, but contents unchanged), then `git-diff --quiet' will
now return 0 (indicating no change) instead of 1, and also silently
refresh the index.
My knee-jerk reaction is that I do not particularly like this, but I
haven't thought things through.  What does --exit-code do with or without
the configuration variable?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help