lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-next: Signed-off-by missing for commits in the staging tree
Date
Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi Greg,
>
> On Tue, 28 Nov 2017 20:41:39 +0100 Greg KH <greg@kroah.com> wrote:
>>
>> I need to set up a git hook for this :(
>
> I couldn't find an appropriate hook for fetching or merging other
> trees :-( Instead I run the attached script below after each fetch.

Isn't the update hook what you want?

Called by git-receive-pack:

Before each ref is updated, if $GIT_DIR/hooks/update file exists and
is executable, it is invoked once per ref, with three parameters:

$GIT_DIR/hooks/update refname sha1-old sha1-new

cheers

\
 
 \ /
  Last update: 2017-11-29 01:09    [W:0.086 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site