Re: [PATCH] git-config: respect other options after -l, most notably --file
- From
Frank Lichtenheld <frank@lichtenheld.de>
- Date
- Oct 9, 2007, 22:49 UTC
- Message-ID
- <20071009224943.GH31659@planck.djpig.de>
- In-Reply-To
- <20071009125024.1259.qmail@d8e601127fe8d0.315fe32.mid.smarden.org>
On Tue, Oct 09, 2007 at 12:50:24PM +0000, Gerrit Pape wrote:
Show 9 quoted lines
> When git-commit is seeing the -l|--list option, it stops reading the > following command line options. So although they should be the same, > the following commands act differently: > > git config --file ../repo2/.git/config -l > git config -l --file ../repo2/.git/config > > This patch delays the 'list all variables' to after the command line > options have been processed.
Note that I have posted a conflicting patch for the same problem some days ago. I think my patch is more consistent with the behaviour for other options.
Gruesse,
-- Frank Lichtenheld <frank@lichtenheld.de> www: http://www.djpig.de/