Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: finding if a commit is needed

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:12

Geoff Russell wrote:
Is there something which can test whether a commit is needed?

I define "needed" as meaning when git commit -a would make a non-identical
commit.
Maybe "git diff --exit-code HEAD"?

Regards,
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help