Git development
 help / color / mirror / Atom feed
* [PATCH 00/10] commit-graph: several refactorings for writing commit graphs
@ 2026-11-04 15:57 Patrick Steinhardt
  2026-11-04 15:57 ` [PATCH 01/10] commit-graph: rename `struct commit_graph_opts` Patrick Steinhardt
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Patrick Steinhardt @ 2026-11-04 15:57 UTC (permalink / raw)
  To: git

Hi,

this patch series includes several small cleanups for the interfaces for
writing commit graphs. Most importantly, the series refactors options so
that they all get passed via `struct commit_graph_write_options`. These
cleanups are split out of a bigger change to make reading and writing
commit-graphs pluggable via the object database bakcend.

The series is based on 750f5de7dfe (The 14th batch, 2026-11-03) with
ps/commit-graph-cleanups at cdc7d6b46c6 (builtin/commit-graph:
de-globalize options handling, 2026-10-28) merged into it.

Thanks!

Patrick

---
Patrick Steinhardt (10):
      commit-graph: rename `struct commit_graph_opts`
      commit-graph: pass writer flags via options
      commit-graph: drop `NULL` checks for write options
      commit-graph: drop redundant flags in write context
      commit-graph: merge the two commit graph writers
      commit-graph: move remaining write parameters into options
      commit-graph: fix mixup of write/verify flags
      builtin/commit-graph: set flags directly
      odb/source-files: verify commit-graphs as part of fsck
      commit-graph: modernize function names

 Documentation/gitformat-chunk.adoc |   2 +-
 builtin/commit-graph.c             |  82 ++++++-----------
 builtin/fetch.c                    |  23 ++---
 builtin/fsck.c                     |  20 ----
 builtin/gc.c                       |  15 ++-
 commit-graph.c                     | 183 +++++++++++++++++--------------------
 commit-graph.h                     |  40 ++++----
 odb.c                              |   2 +-
 odb/source-files.c                 |  25 +++++
 oss-fuzz/fuzz-commit-graph.c       |   4 +-
 t/helper/test-read-graph.c         |   2 +-
 11 files changed, 183 insertions(+), 215 deletions(-)


---
base-commit: d00aeacdaa9e157548863b0eecc019044126c621
change-id: 20261103-pks-commit-graph-write-refactorings-f68fb22efd9b


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-11-04 19:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 15:57 [PATCH 00/10] commit-graph: several refactorings for writing commit graphs Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 01/10] commit-graph: rename `struct commit_graph_opts` Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 02/10] commit-graph: pass writer flags via options Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 03/10] commit-graph: drop `NULL` checks for write options Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 04/10] commit-graph: drop redundant flags in write context Patrick Steinhardt
2026-11-04 19:18   ` Junio C Hamano
2026-11-04 15:57 ` [PATCH 05/10] commit-graph: merge the two commit graph writers Patrick Steinhardt
2026-11-04 16:33   ` Derrick Stolee
2026-11-04 15:57 ` [PATCH 06/10] commit-graph: move remaining write parameters into options Patrick Steinhardt
2026-11-04 16:34   ` Derrick Stolee
2026-11-04 17:49   ` Kristofer Karlsson
2026-11-04 15:57 ` [PATCH 07/10] commit-graph: fix mixup of write/verify flags Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 08/10] builtin/commit-graph: set flags directly Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 09/10] odb/source-files: verify commit-graphs as part of fsck Patrick Steinhardt
2026-11-04 15:57 ` [PATCH 10/10] commit-graph: modernize function names Patrick Steinhardt
2026-11-04 16:37 ` [PATCH 00/10] commit-graph: several refactorings for writing commit graphs Derrick Stolee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox