]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5318-commit-graph.sh
commit-graph: add '--reachable' option
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 27 Jun 2018 13:24:45 +0000 (09:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2018 17:29:10 +0000 (10:29 -0700)
commit59fb87701ff68eb114e54ce6834e91c4ae8f60a7
tree2046a528befaed1a8896b7ca9e284321ec68b1eb
parentd88b14b3fd691fc71c3cea5bc5bde9dd10b5e86c
commit-graph: add '--reachable' option

When writing commit-graph files, it can be convenient to ask for all
reachable commits (starting at the ref set) in the resulting file. This
is particularly helpful when writing to stdin is complicated, such as a
future integration with 'git gc'.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit-graph.txt
builtin/commit-graph.c
commit-graph.c
commit-graph.h
t/t5318-commit-graph.sh