From d59a9168fb65b02d20eda3100a76670417087c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C3=85gren?= Date: Thu, 27 Sep 2018 21:12:20 +0200 Subject: [PATCH] git-commit-graph.txt: typeset more in monospace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While we're here, fix an instance of "folder" to be "directory". Signed-off-by: Martin Ă…gren Reviewed-by: Derrick Stolee Signed-off-by: Junio C Hamano --- Documentation/git-commit-graph.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/git-commit-graph.txt b/Documentation/git-commit-graph.txt index f42f2a1481..6ac610f016 100644 --- a/Documentation/git-commit-graph.txt +++ b/Documentation/git-commit-graph.txt @@ -25,9 +25,9 @@ OPTIONS --object-dir:: Use given directory for the location of packfiles and commit graph file. This parameter exists to specify the location of an alternate - that only has the objects directory, not a full .git directory. The - commit graph file is expected to be at /info/commit-graph and - the packfiles are expected to be in /pack. + that only has the objects directory, not a full `.git` directory. The + commit graph file is expected to be at `/info/commit-graph` and + the packfiles are expected to be in `/pack`. COMMANDS @@ -66,14 +66,15 @@ database. Used to check for corrupted data. EXAMPLES -------- -* Write a commit graph file for the packed commits in your local .git folder. +* Write a commit graph file for the packed commits in your local `.git` + directory. + ------------------------------------------------ $ git commit-graph write ------------------------------------------------ * Write a graph file, extending the current graph file using commits - in . + in ``. + ------------------------------------------------ $ echo | git commit-graph write --stdin-packs @@ -86,7 +87,7 @@ $ git show-ref -s | git commit-graph write --stdin-commits ------------------------------------------------ * Write a graph file containing all commits in the current - commit-graph file along with those reachable from HEAD. + commit-graph file along with those reachable from `HEAD`. + ------------------------------------------------ $ git rev-parse HEAD | git commit-graph write --stdin-commits --append