From 7cee8a473aeadf903e470c151b560c7801956d4f Mon Sep 17 00:00:00 2001 From: Pavlo Batov Date: Tue, 14 Jan 2025 10:31:51 +0200 Subject: [PATCH] chore: remove no more needed comment --- src/pre_commit_jira/hooks/add_jira_ticket.clj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pre_commit_jira/hooks/add_jira_ticket.clj b/src/pre_commit_jira/hooks/add_jira_ticket.clj index fa4085a..19727f0 100644 --- a/src/pre_commit_jira/hooks/add_jira_ticket.clj +++ b/src/pre_commit_jira/hooks/add_jira_ticket.clj @@ -51,8 +51,6 @@ branch-name (get-current-branch-name) ticket-from-commit-msg (get-jira-ticket-from commit-msg) ticket-from-branch (get-jira-ticket-from branch-name)] - ; TODO: handle case when ticket in branch name is different from ticket - ; in commit-msg (when (and (not ticket-from-commit-msg) ticket-from-branch (not (special-commit? commit-msg)))