Loading hooks/squash.py +3 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,9 @@ def catalogue_commits(): """ Yield all regular commits as Commit objects, containing any update (squash) commits """ if os.environ.get(PRE_COMMIT_FROM_REF, Z40) == Z40: return cmd = git_log_cmd() cmd.extend([ '--reverse', Loading Loading
hooks/squash.py +3 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,9 @@ def catalogue_commits(): """ Yield all regular commits as Commit objects, containing any update (squash) commits """ if os.environ.get(PRE_COMMIT_FROM_REF, Z40) == Z40: return cmd = git_log_cmd() cmd.extend([ '--reverse', Loading