[Koha-devel] Suggestion for the "git so" command

Barton Chittenden barton at bywatersolutions.com
Mon Feb 1 17:58:32 CET 2016


Yes, it's possible

Here's what I use:

so = "!f() { c=`expr $1 - 1`; git filter-branch -f --msg-filter \"echo -n
\\\"[SIGNED-OFF] \\\" && cat && echo \\\"\nSigned-off-by: Barton Chittenden
<barton at bywatersolutions.com>\\\"\" HEAD~$c^..; }; f"

... I'm not sure where that came from. It *may* have even come from an
earlier version on the wiki... I think that the issue is that git bz attach
will automatically obsolete patches that have the same subject line,
whereas appending "[SIGNED-OFF]" may break that. Take that with a large
grain of salt, test it yourself and maybe run it by the good QA folx.

--Barton



On Mon, Feb 1, 2016 at 11:37 AM, Owen Leonard <oleonard at myacpl.org> wrote:

> The wiki has a good command for signing off multiple patches at once:
>
> https://wiki.koha-community.org/wiki/Git_bz_configuration#Signing_off_2
>
> I have a suggestion for an improvement: Prepend "[SIGNED-OFF]" to the
> first line of each.
>
> Is that possible?
>
>   -- Owen
>
> --
> Web Developer
> Athens County Public Libraries
> http://www.myacpl.org
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20160201/1f7996fb/attachment.html>


More information about the Koha-devel mailing list