git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Todd Zullinger <tmz@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] gitignore.txt: clarify default core.excludesfile path
Date: Wed, 27 Jun 2018 12:16:42 -0700	[thread overview]
Message-ID: <xmqqvaa4dopx.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <20180627044652.12080-1-tmz@pobox.com> (Todd Zullinger's message of "Wed, 27 Jun 2018 00:46:51 -0400")

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.



> 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
>  -----------

  parent reply	other threads:[~2018-06-27 19:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27  4:46 [PATCH 1/2] gitignore.txt: clarify default core.excludesfile path Todd Zullinger
2018-06-27  4:46 ` [PATCH 2/2] dir.c: fix typos in core.excludesfile comment Todd Zullinger
2018-06-27 19:16 ` Junio C Hamano [this message]
2018-06-27 20:07   ` [PATCH 1/2] gitignore.txt: clarify default core.excludesfile path Todd Zullinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqvaa4dopx.fsf@gitster-ct.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=tmz@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).