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

Re: [PATCH] Tiny fix in git-config manual

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 14, 2007, 21:48 UTC
Message-ID
<7vbqc4apgu.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<200709102307.02468.bramschoenmakers@xs4all.nl>
Bram Schoenmakers <bramschoenmakers@xs4all.nl> writes:
> A little problem is shown in the git-config manual, where the possible
> locations for the configuration files is to be found. The dot is a special
> character and hence not visible in the resulting documents. This patch
> fixes this by adding an additional whitespace.

Thanks, but depending on the docbook stylesheet version this does not seem to do anything or does not seem to fix the issue.

As we usually refer the repository metadata directory $GIT_DIR, I am inclined to do this instead.

---
 Documentation/git-config.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 5b794f4..a592b61 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -142,7 +142,7 @@ FILES
 If not set explicitly with '--file', there are three files where
 git-config will search for configuration options:
 
-.git/config::
+$GIT_DIR/config::
 	Repository specific configuration file. (The filename is
 	of course relative to the repository root, not the working
 	directory.)
Message 1 of 1 in “Re: [PATCH] Tiny fix in git-config manual”
  1. Junio C HamanoSep 14, 2007

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.