From: Adam Spiers Date: Mon, 15 Apr 2013 16:17:32 GMT Subject: Re: [PATCH v1 23/45] check-ignore: convert to use parse_pathspec Message-ID: <20130415161732.GA5459@indian.linksys.moosehall> In-Reply-To: On Mon, Apr 15, 2013 at 09:48:22AM +1000, Duy Nguyen wrote: > On Mon, Apr 15, 2013 at 9:25 AM, Adam Spiers wrote: > >> > The introduction of argc also makes it possible to invoke > >> > check_ignore() with arguments which are not self-consistent. > >> > >> This is the same problem with main() > > > > How could main() be invoked with argc inconsistent with argv? > > The point is main's caller has to maintain the consistency. So do > check_ignore's callers. But only the system runtime calls main(), right? So we can probably rely on it being called in a consistent manner ;-)