Re: [PATCH 2/4] fast-import: define a new option command
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Aug 13, 2009, 16:26 UTC
- Message-ID
- <fabb9a1e0908130926qdc6cdf1ka7f2442421ce12ce@mail.gmail.com>
- In-Reply-To
- <20090813152419.GN1033@spearce.org>
Heya,
On Thu, Aug 13, 2009 at 08:24, Shawn O. Pearce<spearce@spearce.org> wrote:
> Why shouldn't I be able to (easily) override the marks location > locally, without resorting to stream editing?
You convinced me, I'll store argv and argc in global_argv/global_argc and move the option parsing to parse_argv(), which is then called when the first non_option command is parsed.
-- Cheers, Sverre Rabbelier