Initialize lock_file struct to all zero.
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 19 Jun 2006 22:55:20 +0000 (00:55 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Jun 2006 00:04:27 +0000 (17:04 -0700)
commit928e47e3d50527adcfef20932f3b2764b9f11f06
tree063d6722a7e7da75aed6c98b8d73d876d2579c76
parent854b4629f97fb216a91805706cd61b33beb49172
Initialize lock_file struct to all zero.

hold_lock_file_for_update() relies on that.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-update-index.c
builtin-write-tree.c