Re: git-gui: How to configure for use in gigantic projects?
- From
Pratyush Yadav <me@yadavpratyush.com>
- Date
- Oct 30, 2020, 10:58 UTC
- Message-ID
- <20201030105856.ctjkxxwmudaeewpa@yadavpratyush.com>
- In-Reply-To
- <CAGr--=KpNaPFjMOzXzF382cv1p58nMoOPXAm0MCdA8WZMBznVA@mail.gmail.com>
Hi Birger,
On 30/10/20 11:16AM, Birger Skogeng Pedersen wrote:
Show 19 quoted lines
> Hi, > > I would like to use git gui for a project. The problem is that the > repository directory is really gigantic. Doing a scan (F5) takes a > couple of minutes to finish. > > I would like the scan to only focus on files that are specifically > added to the index. In git I do this: > > git config status.showUntrackedFiles no > > git status will then only show status of files that I have > specifically added. So git status completion is instant. > > But this configuration appears to have no effect on git-gui. The scan > is just as slow as before. > > Anything I can do to make git-gui only scan files that are > specifically added, and not look through the whole directory?
Uncheck "Show untracked files" in options. It is controlled by the config 'gui.displayuntracked'.
-- Regards, Pratyush Yadav