[RFC][PATCH] contrib: add git-commit-mklog wrapper

Martin Liška mliska@suse.cz
Wed Jun 23 07:40:09 GMT 2021


On 6/22/21 8:40 PM, Jason Merrill wrote:
> On 6/22/21 3:30 AM, Martin Liška wrote:
>> Hello.
>>
>> There's a patch candidate that comes up with a wrapper for 'git commit-mklog' alias.
>> Using my patch, one can do:
>>
>> $ git commit-mklog -a -b 12345,4444
>>
>> Thoughts?
> 
> Looks good to me.

Cool, I've just pushed that (and started using it). Plus I've added support for -p argument
as noted by Tobias.

> 
>> Can one do that without the wrapper script and passing data through env. variable?
> 
> The hook seems like the way to adjust the commit message, and we can't affect its command line arguments, so we're left with environment variables or a file somewhere for communicating to it.

Yes, that's what I though.

Martin

> 
> Jason
> 



More information about the Gcc-patches mailing list