aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/gitformat-commit-graph.txt
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-02-06 07:35:50 +0100
committerJunio C Hamano <gitster@pobox.com>2024-02-06 12:10:08 -0800
commit59f302ca5abf3e8ec4f14f098b26adf786017fad (patch)
tree457575021305e0b755f5999a2f04a6d8fb5285b9 /Documentation/gitformat-commit-graph.txt
parentreftable/stack: use `size_t` to track stack length (diff)
downloadgit-59f302ca5abf3e8ec4f14f098b26adf786017fad.tar.gz
git-59f302ca5abf3e8ec4f14f098b26adf786017fad.zip
reftable/merged: refactor seeking of records
The code to seek reftable records in the merged table code is quite hard to read and does not conform to our coding style in multiple ways: - We have multiple exit paths where we release resources even though that is not really necessary. - We use a scoped error variable `e` which is hard to reason about. This variable is not required at all. - We allocate memory in the variable declarations, which is easy to miss. Refactor the function so that it becomes more maintainable in the future. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitformat-commit-graph.txt')
0 files changed, 0 insertions, 0 deletions