]> git.ozlabs.org Git - patchwork/commit
post-receive: exclude commits from the patch update step
authorBrian Norris <computersforpeace@gmail.com>
Thu, 12 Jun 2014 01:54:59 +0000 (18:54 -0700)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 24 Jul 2014 09:22:53 +0000 (17:22 +0800)
commitf49c72da5545f2da49dd83d9ec54fe232cf60360
tree75b6b3f98c8e5290758e8acde0e114cf0c6d91ca
parent0a502d0cf5b0daced5869130b1003d2002d547ab
post-receive: exclude commits from the patch update step

When merging upstream work related to other projects into your own
project repository, you probably don't want to check for (and try to
update) the status on every change-set in the merge. So add a list of
references (branches, tags, commits, etc.) whose commits should be
ignored in the patch update step.

This could be used, for example, to set:

    EXCLUDE="refs/heads/upstream"

Then when you're ready to merge in new upstream code, you first update
the 'upstream' branch before pushing your own.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
tools/post-receive.hook