Code

Improve use of lockfile API
authorBrandon Casey <casey@nrlssc.navy.mil>
Wed, 16 Jan 2008 19:12:46 +0000 (13:12 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jan 2008 23:35:35 +0000 (15:35 -0800)
commit4ed7cd3ab07f7c721daf4241fe1dac306fefd1fb
treee3b03a59cd0bca192fb396522f813210451404b8
parentd6cf61bfd4bccffcc8b095f8469dbe749d70abdf
Improve use of lockfile API

Remove remaining double close(2)'s.  i.e. close() before
commit_locked_index() or commit_lock_file().

Signed-off-by: Junio C Hamano <gitster@pobox.com>
20 files changed:
builtin-add.c
builtin-apply.c
builtin-checkout-index.c
builtin-commit.c
builtin-diff.c
builtin-fetch-pack.c
builtin-mv.c
builtin-pack-refs.c
builtin-read-tree.c
builtin-rerere.c
builtin-reset.c
builtin-revert.c
builtin-rm.c
builtin-update-index.c
builtin-write-tree.c
bundle.c
config.c
fast-import.c
merge-recursive.c
refs.c