Re: [git pull] vfs.git spurious ENOTDIR fix

From: Linus Torvalds
Date: Sat Aug 01 2015 - 20:42:14 EST


On Sat, Aug 1, 2015 at 5:23 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> BTW, is there any convenient way to have git itself check things like
> that?

I guess you could just do a "pre-push" hook, and have it exit with an
error if the tree isn't clean (to fail the push) or at least warn.

See "man githooks" for details.

Linus
--
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/