Re: [StGit PATCH] Add import -p option
On 2009-09-09 23:09:51 +0100, Catalin Marinas wrote:
Show 13 quoted lines
> 2009/9/8 Karl Wiberg <kha@treskal.com>:
>
> > On 2009-09-08 22:43:39 +0100, Catalin Marinas wrote:
> >
> > > + if strip:
> > > + cmd += ['-p', strip]
> >
> > This test should probably be "if strip != None". It doesn't
> > _really_ matter, technically, since -p0 is the default, but still
> > ...
>
> I modified it after posting the patch. The git default is -p1, so we
> would miss the -p0 case.
Ah ha! Sometimes it actually does pay to be pedantic ...
--
Karl Wiberg, kha@treskal.com
www.treskal.com/kalle