Re: [PATCH 0/10] MAINTAINERS - add script, patterns and misc updates

Joe Perches
2009-04-17T22:55:51Z

On Fri, 2009-04-17 at 15:18 -0700, Andrew Morton wrote:
> On Fri, 17 Apr 2009 15:09:28 -0700
> Joe Perches <joe@perches.com> wrote:
> > I changed the script to verify that a .git directory
> > exists before running git.
>
> hm, well, there's benefit in telling the user "hey, you'll get better
> results if you run this in your git directory".

OK, I'll add the message

+ if (!(-d ".git")) {
+ warn("$P: .git repository not found.\n");
+ warn("Use a .git repository for better results.\n");
+ warn("ie: git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\n");
+ return;
+ }

when I submit the patches.

cheers, Joe