Re: Commit auto-links in bugzilla comments

On Wed, 2015-02-11 at 15:01 -0500, Xavier Claessens wrote:
Le mercredi 11 février 2015 à 09:52 -0800, Jasper St. Pierre a écrit :
Out of curiosity, is there anything wrong with just copy/pasting a
link? You know, something like

There is nothing wrong with copy/pasting the link, but then you have to
browse to find the commit/branch link.

Would welcome patches, or rewrites of this:

It would probably be easy to implement in Python, but I wanted to try
out lua for something trivial. It ended up not being trivial ;)

It could:
- detect which branches you're in
- allow passing a line number to link to it directly
- allow passing a ref and link to that commit
- detect whether there are local changes that would change what to link


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