]> git.alsa-project.org Git - alsa.git/commitdiff
hook pre-receive for linux-kernel.git: add 'linux-next' for free commits
authorJaroslav Kysela <perex@perex.cz>
Wed, 18 Jun 2008 08:38:46 +0000 (10:38 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 18 Jun 2008 08:38:46 +0000 (10:38 +0200)
hooks/alsa-kernel.git/pre-receive

index 6cbe19a6cf02f6dccb174dfe29f457b3a433cce1..6e44b36ba1e5e107cd875b16e7e45a830b65677e 100755 (executable)
@@ -400,7 +400,8 @@ lines = stdin.readlines()
 lastref = ''
 for line in lines:
     sha1old, sha1new, refname = line[:-1].split(' ')
-    if refname in ['refs/heads/linux-2.6', 'refs/heads/for-linus']:
+    if refname in ['refs/heads/linux-2.6', 'refs/heads/for-linus',
+                   'refs/heads/linux-next']:
         continue
     elif refname.startswith('refs/tags/') or \
          refname.startswith('refs/heads/private-') or \