git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'git commit --short' without touching index?
@ 2010-07-03  8:30 Daniel
  2010-07-03  9:17 ` Jeff King
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel @ 2010-07-03  8:30 UTC (permalink / raw)
  To: git

'git commit --short' touches .git/index ('--short' implies '--dry-run').

Is there any equivalent command that does not touch .git/index?

I'm using 'git commit --short' in a script to check if the repository needs
attention.  At present, it touches .git/index, which causes unnecessary activity
in another script running rsync.

thanks,
Daniel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-06 12:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-03  8:30 'git commit --short' without touching index? Daniel
2010-07-03  9:17 ` Jeff King
2010-07-03 10:08   ` friedan
2010-07-05 20:10   ` Junio C Hamano
2010-07-05 20:56     ` Jeff King
2010-07-05 21:28       ` Junio C Hamano
2010-07-06 12:10         ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).