diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-11-25 08:34:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-26 00:39:38 +0100 |
commit | 0f5762b0435234c4dc916f4b3672c78c1b24f0e2 (patch) | |
tree | 12158524ce2f20cc72b576ca4d17352c7102a19c /refs.h | |
parent | reftable/block: optimize allocations by using scratch buffer (diff) | |
download | git-0f5762b0435234c4dc916f4b3672c78c1b24f0e2.tar.xz git-0f5762b0435234c4dc916f4b3672c78c1b24f0e2.zip |
refs: adapt `initial_transaction` flag to be unsigned
The `initial_transaction` flag is tracked as a signed integer, but we
typically pass around flags via unsigned integers. Adapt the type
accordingly.
Suggested-by: Christian Couder <christian.couder@gmail.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ int refs_verify_refname_available(struct ref_store *refs, const char *refname, const struct string_list *extras, const struct string_list *skip, - int initial_transaction, + unsigned int initial_transaction, struct strbuf *err); int refs_ref_exists(struct ref_store *refs, const char *refname); |