git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/4] git-commit-graph.txt: typeset more in monospace

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Sep 19, 2018, 16:30 UTC
Message-ID
<acac5c3584b1cc7cf36ce4f7800738548eba8ccb.1537374062.git.martin.agren@gmail.com>
In-Reply-To
<cover.1537374062.git.martin.agren@gmail.com>
While we're here, fix an instance of "folder" to be "directory".
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
---
 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 <dir>/info/commit-graph and
-	the packfiles are expected to be in <dir>/pack.
+	that only has the objects directory, not a full `.git` directory. The
+	commit graph file is expected to be at `<dir>/info/commit-graph` and
+	the packfiles are expected to be in `<dir>/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 <pack-index>.
+  in `<pack-index>`.
 +
 ------------------------------------------------
 $ echo <pack-index> | 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
-- 
2.19.0.216.g2d3b1c576c
Previous: Derrick StoleeNext: Derrick Stolee
Message 4 of 17 in “git-commit-graph.txt: various cleanups”
  1. 0/4 git-commit-graph.txt: various cleanupsMartin Ågren, Sep 19, 2018
  2. 1/4 git-commit-graph.txt: fix bullet listsMartin Ågren, Sep 19, 2018
  3. Derrick StoleeSep 19, 2018
  4. 2/4 git-commit-graph.txt: typeset more in monospaceMartin Ågren, Sep 19, 2018
  5. Derrick StoleeSep 19, 2018
  6. 3/4 git-commit-graph.txt: refer to "*commit* graph file"Martin Ågren, Sep 19, 2018
  7. Derrick StoleeSep 19, 2018
  8. Martin ÅgrenSep 20, 2018
  9. Derrick StoleeSep 20, 2018
  10. 0/4 git-commit-graph.txt: various cleanupsMartin Ågren, Sep 27, 2018
  11. 1/4 git-commit-graph.txt: fix bullet listsMartin Ågren, Sep 27, 2018
  12. 3/4 git-commit-graph.txt: refer to "*commit*-graph file"Martin Ågren, Sep 27, 2018
  13. 2/4 git-commit-graph.txt: typeset more in monospaceMartin Ågren, Sep 27, 2018
  14. 4/4 Doc: refer to the "commit-graph file" with dashMartin Ågren, Sep 27, 2018
  15. Derrick StoleeSep 27, 2018
  16. Martin ÅgrenSep 27, 2018
  17. 4/4 git-commit-graph.txt: refer to the "commit graph file" without dashMartin Ågren, Sep 19, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.