[ANN] Referencing bugs in commits

Jan Holesovsky kendy at suse.cz
Tue Feb 14 07:16:33 PST 2012


Hi,

Markus has implemented a nice feature that should help keeping the bugs
up to date: whenever you are committing / pushing to git, and you
reference the bugs.freedesktop.org bug in the commit message, it will
automatically appear as a comment in the bug :-)

The bug reference has to have fdo#ABCDE form (where ABCDE is the bug
number), and has to be at the first line of the commit (it does not
matter where on that line).  So eg. when you write git commit log as:

----- 8< -----
fdo#45748: Don't use empty pages for computing the page break position
----- 8< -----

It will result in the following comment in bugzilla:

https://bugs.freedesktop.org/show_bug.cgi?id=45748#c7

I am sorry for the trouble with the UTF-8 encoding, we'll fix that
later.  Also, the comments are so far created with my bugzilla account,
we'll switch to a bug alias soon.

Regards,
Kendy



More information about the LibreOffice mailing list