Issue reference / resolution via commit message. [feature request] #155

mikew opened this Issue Nov 27, 2011 · 6 comments


None yet

7 participants

mikew commented Nov 27, 2011

The ability to say "ref[erence]s #42" or "closes #42" in a git commit message and have it tie into gitlabhq would be a huge boon for productivity.


I second this, cross referencing issues / commit is a killer feature

airborn commented Dec 20, 2011

This is kind of 'must have' +1

dfyx commented Dec 20, 2011

And again: +1

cboden commented Dec 20, 2011


@CedricGatay CedricGatay added a commit to CedricGatay/gitlabhq that referenced this issue Dec 26, 2011
@CedricGatay CedricGatay Autolinks to issues in commit message (see #155)
It matches #[0-9]+ in commit messages.
For example
 * Fix for #12
 * Code review for #56
 * Test for #15, Review on #54, Fix for #42

 It only links to valid issues (existing and belonging to the current project)
 It does not add any link to the commit in the issue page, it only consists in parsing the commit message when displayed.

 This can be considere as a primary work for the issue #155 on gitlabhq/gitlabhq.
randx commented Dec 30, 2011

pull request merged

@randx randx closed this Dec 30, 2011

This links an issue to a commit, but it doesn't allow the commit to close an issue: "(fixes|closes|fix|close) #42". Linking is one step in the right direction but closing would be nice, like github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment