Re: [PATCH] git-completion.bash: prevent 'git help' from searching for git repository
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Sep 2, 2009, 11:47 UTC
- Message-ID
- <fabb9a1e0909020447p212594cake8c6fe3a43b667ec@mail.gmail.com>
- In-Reply-To
- <20090902095843.28914.qmail@3cd9dde586d86b.315fe32.mid.smarden.org>
Heya,
On Wed, Sep 2, 2009 at 11:58, Gerrit Pape<pape@smarden.org> wrote:
> + for i in $(git --git-dir=/nonexistent help -a|egrep '^ ')
Wouldn't implementing "git --no-git-dir" be more appropriate?
-- Cheers, Sverre Rabbelier