Loading hooks/squash.py +2 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ from pathlib import Path from subprocess import PIPE from subprocess import Popen from textwrap import dedent from typing import List from urllib.parse import urlparse Z40 = '0' * 40 Loading Loading @@ -61,7 +62,7 @@ class Commit: raise ValueError("'sha' must be a SHA-1 hash") self.subject = subject.strip() self.sha = sha self.updates = [] self.updates: List[str] = [] def git_log_cmd(): Loading Loading
hooks/squash.py +2 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ from pathlib import Path from subprocess import PIPE from subprocess import Popen from textwrap import dedent from typing import List from urllib.parse import urlparse Z40 = '0' * 40 Loading Loading @@ -61,7 +62,7 @@ class Commit: raise ValueError("'sha' must be a SHA-1 hash") self.subject = subject.strip() self.sha = sha self.updates = [] self.updates: List[str] = [] def git_log_cmd(): Loading