From: Junio C Hamano Date: Thu, 5 May 2005 22:29:06 +0000 (-0700) Subject: Do not write out new index if nothing has changed. X-Git-Tag: v0.99~634^2^3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c4b83e618f1df7d8ecc9392fa40e5bebccbe6b5a?ds=inline;hp=c4b83e618f1df7d8ecc9392fa40e5bebccbe6b5a Do not write out new index if nothing has changed. The git-update-cache command, especially with --refresh, may not change anything. In such a case, writing 1.6MB of the same thing is a waste. Signed-off-by: Junio C Hamano ---