From c14e6e790392647ed3b540b0be3d51d1b8a711c4 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 3 Nov 2019 00:21:56 +0000 Subject: fetch: add the command-line option `--write-commit-graph` This option overrides the config setting `fetch.writeCommitGraph`, if both are set. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- Documentation/fetch-options.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation/fetch-options.txt') diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index 43b9ff3bce..a2f78624a2 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -92,6 +92,10 @@ ifndef::git-pull[] Run `git gc --auto` at the end to perform garbage collection if needed. This is enabled by default. +--[no-]write-commit-graph:: + Write a commit-graph after fetching. This overrides the config + setting `fetch.writeCommitGraph`. + -p:: --prune:: Before fetching, remove any remote-tracking references that no -- cgit v1.2.3