packed_refs_lock(): function renamed from lock_packed_refs()
Rename `lock_packed_refs()` to `packed_refs_lock()` for consistency with how other methods are named. Also, it's about to get some companions. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
42dfa7ecef
commit
b7de57d8d1
@ -9,7 +9,7 @@ struct ref_store *packed_ref_store_create(const char *path,
|
||||
* hold_lock_file_for_update(). Return 0 on success. On errors, set
|
||||
* errno appropriately and return a nonzero value.
|
||||
*/
|
||||
int lock_packed_refs(struct ref_store *ref_store, int flags);
|
||||
int packed_refs_lock(struct ref_store *ref_store, int flags);
|
||||
|
||||
void add_packed_ref(struct ref_store *ref_store,
|
||||
const char *refname, const struct object_id *oid);
|
||||
|
Reference in New Issue
Block a user