Commit a88f6992 authored by henry's avatar henry Committed by brizental
Browse files

fixup! BB 41803: Add some developer tools for working on tor-browser.

BB 43962: Update git rebase preprocessor for git 2.50.
parent 8f823b6a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -28,7 +28,9 @@ class TodoLine:
    Represents a line in the git todo file.
    """

    _PICK_REGEX = re.compile(r"^pick [a-f0-9]+ (?P<fixups>(fixup! )*)(?P<title>.*)")
    # git 2.50 adds a '#' between the commit hash and the commit subject.
    # Keep this '#' optional for previous git versions.
    _PICK_REGEX = re.compile(r"^pick [a-f0-9]+ +(?:# +)?(?P<fixups>(fixup! )*)(?P<title>.*)")

    def __init__(self, line):
        """