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
> > 
> > https://git.gnome.org/browse/gnome-shell/commit/?id=d54b87c4559bd9d74fa10d3e3d1e38a933bea051
> 
> There is nothing wrong with copy/pasting the link, but then you have to
> browse git.gnome.org to find the commit/branch link.

Would welcome patches, or rewrites of this:
https://gist.github.com/hadess/2959481

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
to.

Cheers

_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to