Subject: [PATCH 0/5] Object store refactoring: commit graph

From: Jonathan Tan <[email-masked]>
Date: Thu, 21 Jun 2018 14:29:20 -0700

This continues the object store refactoring effort by making commit
graphs of any repository be readable, not just the commit graph of
the_repository.

This enables the conversion of other functions in the future, functions
like parse_commit (which first tries to parse from the commit graph).

I didn't modify the function that writes commit graphs - perhaps that
can be done in a subsequent series.

Jonathan Tan (5):
  object-store: add missing include
  commit-graph: add missing forward declaration
  commit-graph: add free_commit_graph
  commit-graph: store graph in struct object_store
  commit-graph: add repo arg to graph readers

 Makefile                   |  1 +
 builtin/commit-graph.c     |  2 +
 cache.h                    |  1 -
 commit-graph.c             | 90 ++++++++++++++++++++++----------------
 commit-graph.h             |  9 +++-
 commit.c                   |  4 +-
 config.c                   |  5 ---
 environment.c              |  1 -
 object-store.h             |  6 +++
 object.c                   |  5 +++
 t/helper/test-repository.c | 88 +++++++++++++++++++++++++++++++++++++
 t/helper/test-tool.c       |  1 +
 t/helper/test-tool.h       |  1 +
 t/t5318-commit-graph.sh    | 35 +++++++++++++++
 14 files changed, 201 insertions(+), 48 deletions(-)
 create mode 100644 t/helper/test-repository.c

-- 
2.18.0.rc2.347.g0da03f3a46.dirty