Re: [PATCH] mingw: introduce the 'core.hideDotFiles' setting
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 6, 2016, 12:06 UTC
- Message-ID
- <alpine.DEB.2.20.1605061404090.7829@virtualbox>
- In-Reply-To
- <572A20B9.7060301@ramsayjones.plus.com>
Hi Ramsay,
On Wed, 4 May 2016, Ramsay Jones wrote:
Show 15 quoted lines
> On 04/05/16 15:40, Johannes Schindelin wrote: > > > > diff --git a/Documentation/config.txt b/Documentation/config.txt > > index 42d2b50..a9f599d 100644 > > --- a/Documentation/config.txt > > +++ b/Documentation/config.txt > > @@ -269,6 +269,12 @@ See linkgit:git-update-index[1]. > > + > > The default is true (when core.filemode is not specified in the config file). > > > > +core.hideDotFiles:: > > + (Windows-only) If true (which is the default), mark newly-created > > The patch (if I'm reading it correctly) and the commit message indicate that > the default is 'dotGitOnly'.
Good catch! The original version did default to "true", but we introduced the "dotGitOnly" option later because it was too cumbersome to access things like .mailmap and .gitmodules when they were hidden, and changed the default accordingly. Missing the documentation update.
Fixed in the upcoming v2, Dscho
Show 15 quoted lines
> > > + directories and files whose name starts with a dot as hidden. > > + If 'dotGitOnly', only the .git/ directory is hidden, but no other > > + files starting with a dot. > > + > > ATB, > Ramsay Jones > > > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >