Re: [PATCH] git-gui: Perform rescan on window focus-in
- From
Mark Levedahl <mlevedahl@gmail.com>
- Date
- Jul 29, 2019, 02:24 UTC
- Message-ID
- <5027a6d9-7a6b-5f7d-759c-af967684b5b2@gmail.com>
- In-Reply-To
- <20190728224943.GC162590@genre.crustytoothpaste.net>
On 7/28/19 6:49 PM, brian m. carlson wrote:> On 2019-07-28 at 22:10:29, Pratyush Yadav wrote: >> The function is not documented, and I only started spelunking the code a >> couple days back, so I'll try to answer with what I know. It might not be >> the full picture. >> >> Running git-gui --trace, these commands are executed during a rescan: >> >> /usr/lib/git-core/git-rev-parse --verify HEAD >> /usr/lib/git-core/git-update-index -q --unmerged --ignore-missing --refresh >> > > Great. This sounds like a well-reasoned change. I'll let other folks who > use git-gui more chime in to see what they think as well. >
I'm assuming this does what is currently done by F5. A simple rescan from git-gui in the git repository takes about 8 seconds on my corporate laptop running Windows, making this happen on change of window focus is definitely not a friendly change from my view point.
Mark