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

From: Joe Perches
Date: Fri Apr 17 2009 - 18:55:52 EST


On Fri, 2009-04-17 at 15:18 -0700, Andrew Morton wrote:
> On Fri, 17 Apr 2009 15:09:28 -0700
> Joe Perches <joe@xxxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/