On Apr 9, 2017, at 19:41, Andrew Fernandes wrote:

> Andrew Fernandes (adfernandes) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/717197f4a88e94d5c667c4797712d1b0daecfaf6
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new 717197f  sysutils/ansible: update to 2.2.2.0-1, close #53797
> 
> 717197f is described below
> 
> 
> commit 717197f4a88e94d5c667c4797712d1b0daecfaf6
> 
> Author: Andrew Fernandes <and...@fernandes.org>
> AuthorDate: Sun Apr 9 17:41:56 2017 -0700
> 
> 
>     sysutils/ansible: update to 2.2.2.0-1, close #53797

Don't forget that "#53797" now refers to GitHub pull request #53797. To refer 
to Trac ticket #53797, use the absolute URL. To keep the first line under 50 
characters, put any references to Trac tickets after the first line, like this:


> ansible: update to 2.2.2.0-1
> 
> Closes: https://trac.macports.org/ticket/53797


Using this "Closes:" syntax will automatically close the Trac ticket and add a 
comment to it about the commit.

If you need to manually refer to a git commit in Trac, as you did in 
https://trac.macports.org/ticket/53797#comment:4, don't forget to use 
TracLinks, including the repository name (since we have more than one 
repository), for example:


> Fixed in [717197f4a88e94d5c667c4797712d1b0daecfaf6/macports-ports].



Reply via email to