Skip to content

Also show closing commit in issue header - #1832

Merged
fregante merged 3 commits into
masterfrom
reference-closing-commit
Mar 10, 2019
Merged

fregante merged 3 commits into
masterfrom
reference-closing-commit

Conversation

@fregante

@fregante fregante commented Mar 6, 2019 •

Copy link
Copy Markdown
Member

You can close issues by just referencing them in commits. Live demo: #1827

Closing commits are already supported by extend-status-labels

@fregante
fregante merged commit f2c0eb6 into master Mar 10, 2019
@fregante
fregante deleted the reference-closing-commit branch March 10, 2019 16:10
@fregante

Copy link
Copy Markdown
Member Author

For the record, closing commits don't seem to work when squashing PRs.

That commit included the text Fixes #1827 but GitHub didn't close it when the parent PR was squash-merged.

I suppose the feature works with merging and rebasing because both include the original commit and its Fixes #1827 keyword, but squashing doesn't, unless you also mention it in the squashed commit description.

I submitted a bug report to GitHub.

@fregante fregante mentioned this pull request Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant