]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
pack_one_ref(): use write_packed_entry() to do the writing
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 22 Apr 2013 19:52:38 +0000 (21:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 May 2013 22:33:11 +0000 (15:33 -0700)
commit0f29920f1e0ce00aaf867fdd9ad2174011179f47
treee6bd573489e7304a1946dff9ca93f260495e5bc3
parentf85354b5c7b800912743927f4abba022444163fd
pack_one_ref(): use write_packed_entry() to do the writing

Change pack_refs() to work with a file descriptor instead of a FILE*
(making the file-locking code less awkward) and use
write_packed_entry() to do the writing.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c