diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-11-20 08:51:30 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-11-21 07:59:14 +0900 |
| commit | a0efef144686ca2c46caad98df72507ba2606ce5 (patch) | |
| tree | 88e9912ac9831141af6569c1b7d1afe21a5facba /refs/refs-internal.h | |
| parent | The eighth batch (diff) | |
| download | git-a0efef144686ca2c46caad98df72507ba2606ce5.tar.gz git-a0efef144686ca2c46caad98df72507ba2606ce5.zip | |
refs: allow passing flags when setting up a transaction
Allow passing flags when setting up a transaction such that the
behaviour of the transaction itself can be altered. This functionality
will be used in a subsequent patch.
Adapt callers accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
| -rw-r--r-- | refs/refs-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h index 2313c830d8..dbc6360c5a 100644 --- a/refs/refs-internal.h +++ b/refs/refs-internal.h @@ -193,6 +193,7 @@ struct ref_transaction { size_t nr; enum ref_transaction_state state; void *backend_data; + unsigned int flags; }; /* |
