diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-06-23 09:01:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-23 13:27:33 -0700 |
commit | b7de57d8d18a08ab517b4d01151129f521185271 (patch) | |
tree | cb17e62c3b42c3924ed95e22073939f8629aee5c /refs/packed-backend.h | |
parent | 42dfa7ecef22191b004862fb56074b408c94fc97 (diff) | |
download | git-b7de57d8d18a08ab517b4d01151129f521185271.tar.gz |
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>
Diffstat (limited to 'refs/packed-backend.h')
-rw-r--r-- | refs/packed-backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/packed-backend.h b/refs/packed-backend.h index 3d4057b65b..dbc00d3396 100644 --- a/refs/packed-backend.h +++ b/refs/packed-backend.h @@ -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); |