Re: [PATCH] scripts/setlocalversion on readonly source

From: Christian Kujau
Date: Fri Jun 12 2009 - 13:05:32 EST


On Fri, 12 Jun 2009, Nico Schottelius wrote:
> changing stuff (mtime here) where it is not necessary is maybe not
> the best thing todo. I suggest instead checking for a writable directory
> (which is what you want todo anyway):
>
> [ -w . ] && git update-index --refresh --unmerged > /dev/null

Even better, thanks!

Christian.
--
BOFH excuse #187:

Reformatting Page. Wait...
--
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/