Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Why is core.filemode set to true for a new or a cloned Repository?

Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
> Am 14.09.2010 21:14, schrieb Robin Rosenberg:
> > We should have a workaround for this. That could be an environment variable,
> > a setting in ~/.gitconfig, a system property or (in Eclipse) a workspace 
> > setting or we could (if git is in the path, ask git for it).
> Not sure it needs to be that complex. Just looked in the git-config man
> page and it says "The default is true, except git-clone(1) or
> git-init(1) will probe and set core.fileMode false if appropriate when
> the repository is created."
> The "probe" can be a really simple "isWindows()" check.


The probe is in


Back to the top