On 2/22/2018 1:31 PM, Junio C Hamano wrote:
Derrick Stolee writes:
static struct opts_commit_graph {
const char *obj_dir;
const char *graph_file;
+ int set_latest;
} opts;
...
@@ -89,6 +106,8 @@ static int graph_write(int argc, const char **argv)
Derrick Stolee writes:
> static struct opts_commit_graph {
> const char *obj_dir;
> const char *graph_file;
> + int set_latest;
> } opts;
> ...
> @@ -89,6 +106,8 @@ static int graph_write(int argc, const char **argv)
> { OPTION_STRING, 'o',
It is possible to have multiple commit graph files in a directory, but
only one is important at a time.
Use a 'graph-latest' file to point to the important file. Teach
git-commit-graph to write 'graph-latest' when given the "--set-latest"
option. Using this 'graph-latest' file is more robust than
3 matches
Mail list logo