Re: Git status performance on PS (command prompt)

2017-02-12 Thread Christian Couder
On Sun, Feb 12, 2017 at 5:46 PM, brian m. carlson wrote: > On Sun, Feb 12, 2017 at 04:53:47PM +0100, Mark Gaiser wrote: [...] >> I did a bit of profiling in git to figure out where this slowdown comes from. >> Callgrind tells me that "read_directory_recursive"

Re: Git status performance on PS (command prompt)

2017-02-12 Thread brian m. carlson
On Sun, Feb 12, 2017 at 04:53:47PM +0100, Mark Gaiser wrote: > Hi, > > I'm using ZSH with some fancy prompt. In that prompt is also a quick > git status overview (some symbols indicating if the branch is up to > date, if there are changes, etc.. > > The commands that are being executed to fetch

Git status performance on PS (command prompt)

2017-02-12 Thread Mark Gaiser
Hi, I'm using ZSH with some fancy prompt. In that prompt is also a quick git status overview (some symbols indicating if the branch is up to date, if there are changes, etc.. The commands that are being executed to fetch the information: For the file status: git status --porcelain For the