Re: [PATCH 01/15] Move split_cmdline() to alias.c
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 29, 2008, 14:15 UTC
- Message-ID
- <alpine.DEB.1.00.0806291513450.9925@racer>
- In-Reply-To
- <486796C3.7040304@free.fr>
Hi,
On Sun, 29 Jun 2008, Olivier Marin wrote:
Show 7 quoted lines
> Miklos Vajna a écrit : > > split_cmdline() is currently used for aliases only, but later it can be > > useful for other builtins as well. Move it to alias.c for now, > > indicating that originally it's for aliases, but we'll have it in libgit > > this way. > > This function does not trim cmdline.
As the string comes either from the config (where it is trimmed), or from the command line (where the user can be stup^W^Wask for whitespace explicitely), I do not see much merit in this patch.
Unless you can provide an example where it fails, of course, Dscho