Re: [PATCH v2 00/13] bash prompt speedup

2013-06-18 Thread Simon Oosthoek
* Junio C Hamano [2013-06-18 09:48:28 -0700]: > SZEDER Gábor writes: > > > This patch series eliminates many command substitutions and commands > > in __git_ps1() from top to bottom by replacing them with bash builtins > > or consolidating them. A few timing results are shown in the log > > me

Re: [PATCH v2 00/13] bash prompt speedup

2013-06-18 Thread Junio C Hamano
SZEDER Gábor writes: > This patch series eliminates many command substitutions and commands > in __git_ps1() from top to bottom by replacing them with bash builtins > or consolidating them. A few timing results are shown in the log > message of patch 10. Nice. I think I saw Peff's comment and

Re: [PATCH v2 00/13] bash prompt speedup

2013-06-17 Thread SZEDER Gábor
Forgot to mention that it's built on top of 2847cae8 (prompt: squelch error output from cat, 2013-06-14). Best, Gábor On Tue, Jun 18, 2013 at 04:16:53AM +0200, SZEDER Gábor wrote: > Hi, > > displaying the git-specific bash prompt on Windows/MinGW takes quite > long, long enough to be noticeabl

[PATCH v2 00/13] bash prompt speedup

2013-06-17 Thread SZEDER Gábor
From: SZEDER Gábor Hi, displaying the git-specific bash prompt on Windows/MinGW takes quite long, long enough to be noticeable. This is mainly caused by the numerous fork()s and exec()s to create subshells and run git or other commands, which are rather expensive on Windows. This patch series