Skip to content

Commit

Permalink
dev: merged prs do not close issues. Fixes #424. (#425)
Browse files Browse the repository at this point in the history
dev: merged prs do not close issues. Fixes #424.

misc.
  • Loading branch information
MartinBernstorff authored Dec 23, 2023
2 parents bec9363 + c115b59 commit 98eb56f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions personal_mnemonic_medium/subtasks/graphite.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ def create_branch_from_issue(c: inv.Context, selected_issue: GithubIssue):
sanitised_title = sanitise_issue_title(selected_issue.title)
branch_title = f"{selected_issue.number}-{sanitised_title}"
c.run(f"gt create {branch_title}")
c.run(f"git commit --allow-empty -m '{selected_issue.title}'")
c.run(f"git commit --allow-empty -m 'Fixes #{selected_issue.number}'")
c.run(
f"git commit --allow-empty -m '{selected_issue.title}. Fixes #{selected_issue.number}'"
)

0 comments on commit 98eb56f

Please sign in to comment.