Re: [PATCH 01/20] git.c: update NO_PARSEOPT markings
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Aug 4, 2022, 07:47 UTC
- Message-ID
- <220804.86edxwe9fm.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <20220803213430.GB10040@szeder.dev>
On Wed, Aug 03 2022, SZEDER Gábor wrote:
> [...] > hitting 'git cmd --<TAB>' while outside a repository doesn't even > reaches parse_options() if that command requires a repository. But > let's leave that for later and get this series in shape first.
Hrm, I wonder how that interacts with the git-completion.bash caching in a bad way, i.e. if we were to emit options in a non-repo, then the user cd's to a repo and tab-completes...