Do not write out new index if nothing has changed.
authorJunio C Hamano <junkio@cox.net>
Thu, 5 May 2005 22:29:06 +0000 (15:29 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 5 May 2005 22:29:06 +0000 (15:29 -0700)
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 <junkio@cox.net>
No differences found