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

Re: [PATCH 1/2] gitignore.txt: clarify default core.excludesfile path

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 27, 2018, 19:16 UTC
Message-ID
<xmqqvaa4dopx.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180627044652.12080-1-tmz@pobox.com>
Todd Zullinger <tmz@pobox.com> writes:
> The default core.excludesfile path is $XDG_CONFIG_HOME/git/ignore.
> $HOME/.config/git/ignore is used if XDG_CONFIG_HOME is empty or unset,

... because $HOME/.config is the default value for XDG_CONFIG_HOME when it is unset, that is? If so, the change makes sense.

> as described later in the document.
Show 18 quoted lines
> Signed-off-by: Todd Zullinger <tmz@pobox.com>
> ---
>  Documentation/gitignore.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
> index ff5d7f9ed6..d107daaffd 100644
> --- a/Documentation/gitignore.txt
> +++ b/Documentation/gitignore.txt
> @@ -7,7 +7,7 @@ gitignore - Specifies intentionally untracked files to ignore
>  
>  SYNOPSIS
>  --------
> -$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
> +$XDG_CONFIG_HOME/git/ignore, $GIT_DIR/info/exclude, .gitignore
>  
>  DESCRIPTION
>  -----------
Previous: Todd ZullingerNext: Todd Zullinger
Message 3 of 4 in “gitignore.txt: clarify default core.excludesfile path”
  1. 1/2 gitignore.txt: clarify default core.excludesfile pathTodd Zullinger, Jun 27, 2018
  2. 2/2 dir.c: fix typos in core.excludesfile commentTodd Zullinger, Jun 27, 2018
  3. Junio C HamanoJun 27, 2018
  4. Todd ZullingerJun 27, 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.