This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Git hook to automatically insert in a git commit message an issue number | |
(e.g. Jira ticket number) from the current branch name. | |
""" | |
import itertools | |
import logging | |
import re | |
import sys |