[Geoserver-devel] git config configuration

I have a PR worth some discussion, net result of which is:

$ git config --global --get-regexp core.*

core.autocrlf input

core.safecrlf true

core.ignorecase true

core.precomposeunicode false

The “core.precomposeunicode” setting is macOS specific to prevent committing files in a conflicting format.
The “core.ignorecse” setting is required when on a case insensitive file system.

aside: The articles we link to no longer recommend use of core.autocrlf input, and instead recommend taking this setting into the repository .gitattributes file. Do we care?

···


Jody Garnett

Hi Jody,

do you have links that describe each setting?
How do these affect existing checkouts on the various OSses, is there a migration path
or one has to start over with a fresh checkout?

Cheers
Andrea

···

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

See the PR for description and some links.

Each of these settings was already in used on my normal checkout (I am apparently just documenting what I was already using).

I applied these settings to a fresh checkout that had “file conflicts” until precomposeunicode was applied.

···


Jody Garnett

Ok, so it’s just documentation for first time setup of git and those having a working checkout
are not concerned? I’ve checked my setup, it misses two of them. In particular, here is the output:

git config --global --get-regexp core.*
core.excludesfile /home/aaime/.gitignore
core.autocrfl input
core.safecrlf true
core.editor vim
core.attributesfile ~/.gitattributes

thus the missing bits are:

core.ignorecase true

core.precomposeunicode false

Cheers
Andrea

···

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.