summaryrefslogtreecommitdiff
path: root/commit-graph.c
Commit message (Collapse)AuthorAgeFilesLines
...
* commit-graph: implement git commit-graph readDerrick Stolee2018-04-111-1/+136
| | | | | | | | | | Teach git-commit-graph to read commit graph files and summarize their contents. Use the read subcommand to verify the contents of a commit graph file in the tests. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* commit-graph: implement write_commit_graph()Derrick Stolee2018-04-021-0/+359
Teach Git to write a commit graph file by checking all packed objects to see if they are commits, then store the file in the given object directory. Helped-by: Jeff King <peff@peff.net> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>