aboutsummaryrefslogtreecommitdiffstats
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-03 10:23:34 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-03 10:23:35 -0800
commit1f124f30244654fdf3e87efe1b70948fbfeab4b0 (patch)
tree041308ac20aa62f7073f88d70608bb1033aa4946 /refs/refs-internal.h
parentMerge branch 'kn/pack-write-with-reduced-globals' (diff)
parentrefs/reftable: fix uninitialized memory access of `max_index` (diff)
downloadgit-1f124f30244654fdf3e87efe1b70948fbfeab4b0.tar.gz
git-1f124f30244654fdf3e87efe1b70948fbfeab4b0.zip
Merge branch 'kn/reflog-migration-fix-fix'
Fix bugs in an earlier attempt to fix "git refs migration". * kn/reflog-migration-fix-fix: refs/reftable: fix uninitialized memory access of `max_index` reftable: write correct max_update_index to header
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index 16550862d3..aaab711bb9 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -203,6 +203,7 @@ struct ref_transaction {
enum ref_transaction_state state;
void *backend_data;
unsigned int flags;
+ unsigned int max_index;
};
/*