Re: [msysGit] Re: Sneak peek of the upcoming Git for Windows 2.x

2015-04-15 Thread Johannes Schindelin
Hi Vitaly,

On 2015-04-15 09:17, Vitaly wrote:
>>
>>  feel free to give it a spin: https://git-for-windows.github.io/#download
>>
> 
> I have installed msysgit 1.9.4, installing git for windows 2.3.5.8 (into 
> default localtion and with "use from Windows command prompt")

Which version, 32-bit or 64-bit? PortableGit or regular Git?

> and call "git --version" still give me  msysgit1.9.4

And the path was not adjusted at all? That would be strange indeed.

> I have delete gfw 2.3.5.8 and msysgit 1.9.4, install gfw 2.3.5.8 once again 
> (and check "use from Windows command prompt") and now I have:
> C:\>git
> error launching git:  .
> 
> I see C:\Program Files (x86)\Git\bin in my PATH (from old installs?), but 
> did not see this directory (bin) under Git installation

There is explicit code to modify the PATH environment variable when you choose 
the "from Windows command prompt" option: 
https://github.com/git-for-windows/build-extra/blob/4fdceef37514d1b35d524a8752ccf4e7ad778f60/installer/install.iss.in#L1163-L1177

Just to make sure, you are certain that the PATH variable is not touched, even 
if you reinstall (without uninstalling Git for Windows first)?

Ciao,
Johannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [msysGit] Re: Sneak peek of the upcoming Git for Windows 2.x

2015-04-13 Thread Tay Ray Chuan
Hi Rupert,

On Mon, Apr 13, 2015 at 1:51 AM, Johannes Schindelin
 wrote:
> On 2015-04-11 10:37, rupert thurner wrote:
> > * the prompt is still as slow as before, calculating the branch name on
> > pressing return without option to turn it off
>
> There is no explicit option in the installer to turn it off, but you can 
> easily edit `/etc/profile.d/git-prompt.sh` to adjust it to your liking.
>
> If you think that more people would want to have an option in the installer 
> to switch it off, you should read 
> https://github.com/git-for-windows/git/wiki/Making-an-installer, edit 
> /usr/src/build-extra/installer/install.iss.in after having a look at 
> https://github.com/git-for-windows/build-extra/commit/cbcf69b9 and open a 
> Pull Request.

Personally I edit it away from PS1:
https://github.com/rctay/msysgit/commit/4038833505bc2c088524546e923d64d69c0fa37f

-- 
Cheers,
Ray Chuan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [msysGit] Re: Sneak peek of the upcoming Git for Windows 2.x

2015-04-13 Thread Konstantin Khomoutov
On Sun, 12 Apr 2015 19:51:29 +0200
Johannes Schindelin  wrote:

[...]
> > * it is talking german to me
> > 
> > would it be sufficient to delete
> > c:\Apps\gitwin\mingw64\share\locale\de\LC_MESSAGES\
> > resp the whole locale directory to let it speak english?
> 
> Probably. But the canonical solution is to set the `LC_ALL` or `LANG`
> environment variables accordingly.

JFTR, that won't probably fix `git gui` and `gitk` as they are started
directly, not via shell scripts, and hence are unaffected by whatever
tweaks are done in ~/.bashrc *unless* they're started from the
interactive Git bash shell and hence see that environment.

I would hence just stick LC_MESSAGES=en (or LC_ALL, or LANG) into the
environment variables (on the user's level) and solve this problem once
and for all future programs making use of Unix-y locale setup
conventions.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [msysGit] Re: Sneak peek of the upcoming Git for Windows 2.x

2015-04-12 Thread Johannes Schindelin
Hi Rupert,

On 2015-04-11 10:37, rupert thurner wrote:
> 
> three things i do not like it so much:
> * the old distinct icon is replaced by a new one which looks similar to 
> many other programs, like google chrome. would it be possible to set the 
> old icon?

Git 1.9.5 came with the Git icon already (the diamond with the branch in it) 
and now we simply have this "Windowsified". There was so much positive and 
uplifting feedback about it at the Git Merge (and besides, I really like the 
new icon myself), it is unlikely to change.

> * the prompt is still as slow as before, calculating the branch name on 
> pressing return without option to turn it off

There is no explicit option in the installer to turn it off, but you can easily 
edit `/etc/profile.d/git-prompt.sh` to adjust it to your liking.

If you think that more people would want to have an option in the installer to 
switch it off, you should read 
https://github.com/git-for-windows/git/wiki/Making-an-installer, edit 
/usr/src/build-extra/installer/install.iss.in after having a look at 
https://github.com/git-for-windows/build-extra/commit/cbcf69b9 and open a Pull 
Request.
 
> * it is talking german to me
> 
> would it be sufficient to delete
> c:\Apps\gitwin\mingw64\share\locale\de\LC_MESSAGES\
> resp the whole locale directory to let it speak english?

Probably. But the canonical solution is to set the `LC_ALL` or `LANG` 
environment variables accordingly.

Ciao,
Johannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html