diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-04-19 11:46:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-04-19 11:48:28 +0000 |
commit | 543da3af12cc1859e5d2d229d159faa5dc5e8145 (patch) | |
tree | e1adc47c4af6eda709ffcdb2df61b4632de8b017 /debian/patches/debian/0001-python3-hook.patch | |
parent | Using python3 in commit-msg hook (Closes: #891538). (diff) | |
download | gitlint-543da3af12cc1859e5d2d229d159faa5dc5e8145.tar.xz gitlint-543da3af12cc1859e5d2d229d159faa5dc5e8145.zip |
Removing fix-test-with-python3.patch, not needed anymore.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0001-python3-hook.patch')
-rw-r--r-- | debian/patches/debian/0001-python3-hook.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-python3-hook.patch b/debian/patches/debian/0001-python3-hook.patch new file mode 100644 index 0000000..74cdcea --- /dev/null +++ b/debian/patches/debian/0001-python3-hook.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Using python3 in commit-msg hook (Closes: #891538). + +diff -Naurp gitlint.orig/gitlint/files/commit-msg gitlint/gitlint/files/commit-msg +--- gitlint.orig/gitlint/files/commit-msg ++++ gitlint/gitlint/files/commit-msg +@@ -26,7 +26,7 @@ fi + + run_gitlint(){ + echo "gitlint: checking commit message..." +- python -m gitlint.cli --staged --msg-filename "$1" ++ python3 -m gitlint.cli --staged --msg-filename "$1" + gitlint_exit_code=$? + } + |