[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <vpqfvrkeb4p.fsf@anie.imag.fr>
Date: Tue, 29 Oct 2013 09:26:14 +0100
From: Matthieu Moy <Matthieu.Moy@...noble-inp.fr>
To: Jeff King <peff@...f.net>
Cc: Johan Herland <johan@...land.net>,
Michael Haggerty <mhagger@...m.mit.edu>,
Josh Triplett <josh@...htriplett.org>,
Git mailing list <git@...r.kernel.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Greg KH <greg@...ah.com>,
ksummit-2013-discuss@...ts.linuxfoundation.org,
ksummit-attendees@...ts.linuxfoundation.org,
Linux Kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] commit: Add -f, --fixes <commit> option to add Fixes: line
Jeff King <peff@...f.net> writes:
> We could probably make this friendlier by reading from ~/.githooks
> and defining some semantics for multiple hooks.
I'd be all for it, except I'd call this ~/.config/git/hooks/* (or
$XDG_CONFIG_HOME if set).
> E.g., fall back to ~/.githooks if the repo hook is not
> executable, or possibly run them both
I think running them both would be the best option. Otherwise, adding a
(possibly trivial) hook to a repo would disable the user-wide one,
that'd feel weird.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists