'git commit --short' without touching index?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]