builtin-bundle create - use lock_file
authorJunio C Hamano <gitster@pobox.com>
Sun, 12 Aug 2007 17:44:06 +0000 (10:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Aug 2007 20:04:18 +0000 (13:04 -0700)
commit4b37666ccbab015e75fda745c29a2f5d58a54482
treef5ac0822c88138c242e55b5d302a89b595a414fc
parent95eb6853af73ba91188a481a882076fa2639f15f
builtin-bundle create - use lock_file

"git bundle create" left an invalid, partially written bundle if
an error occured during creation.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-bundle.c