Re: [PATCH 1/3] git-multimail: Add an option to filter on branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 22, 2015 at 7:44 PM, Michael Haggerty <mhagger@xxxxxxxxxxxx> wrote:
> I think what you are looking for is
>
>     return any(r.match(branch) for r in branches)

Yup, thats exactly what I wanted.  I'll submit an updated patch

> I was also wondering why you decided to support comma-separated lists of
> regexps *and* multivalued config settings. It seems that supporting only
> multivalued settings would suffice.

In practice we are using gitolite and git-multimail.  Allowing both
means our gitolite.conf file can look like

repo foo
    # always notify on master
    config multimailhook.branches     = master

   # notify for the current pre-release branches
   config multimailhook.branches     = v1.7-pre, v1.8-pre

-- 
Dave B
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]