Development of 7.0 on windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Development of 7.0 on windows

Nicolas Cellier
Many of you are probably aware, but since I rediscovered, let's remind:

Before cloning pharo.git, git must be configured for long file names on windows, even with tonel

    git config --system core.longpaths true

Borrowed from:

    http://www.brycevandyk.com/of-too-long-file-names-in-windows-and-git/

This worked for me, otherwise i get a broken clone
Reply | Threaded
Open this post in threaded view
|

Re: Development of 7.0 on windows

Torsten Bergmann
Also remember that git can be configured on

 - system (for every user on the system and all of their repositories)
 - global (specific config for each each user)
 - local (per repository)
 
level. So depending on an option a different "gitconfig" file is affected.

You may face the issue that if your git installation is placed in windows program folder and you run:

  git config --system core.longpaths true

you might receive an error when you want to change the config on the highest "system" level
 
=>  error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied

because the program folder might not be writable if you are not an admin.
 
In such a case and as an alternative you can configure this option on the "global" level for 
the current windows user:

  git config --global core.longpaths true

Hope that helps prevent some early trouble. 

Bye
T.
 
Gesendet: Dienstag, 07. November 2017 um 18:15 Uhr
Von: "Nicolas Cellier" <[hidden email]>
An: "Discusses Development of Pharo" <[hidden email]>
Betreff: [Pharo-dev] Development of 7.0 on windows
Many of you are probably aware, but since I rediscovered, let's remind:

Before cloning pharo.git, git must be configured for long file names on windows, even with tonel

    git config --system core.longpaths true

Borrowed from:

    http://www.brycevandyk.com/of-too-long-file-names-in-windows-and-git/

This worked for me, otherwise i get a broken clone