diff --git a/main.py b/main.py index 6165814..f984500 100644 --- a/main.py +++ b/main.py @@ -41,8 +41,6 @@ def main() -> None: # Also covers UnicodeDecodeError, which is a subclass of ValueError. sys.exit(f"error: {error}") - # Most changed first. The sort is stable and keys only on the count, - # so lines with equal counts keep their original file order. changed_lines.sort(key=lambda item: item[0], reverse=True) for _, line in changed_lines: