cherry-checker: fix: don't choke on semicolons in the commit message title
[tools.git] / review-tools / cherry-checker
index dbdbd06156cd80d8200a6ae4989bdc5c5c1fe12f..318eee644f59fe7e2688b0b581cd068dfecb06c0 100755 (executable)
@@ -88,7 +88,7 @@ def pick_cherries(left, right, all = False):
 
     for line in subprocess.check_output(git_command).decode().splitlines():
 
-        timestamp, branch, commit, subject = line.split(";")
+        timestamp, branch, commit, subject = line.split(";", maxsplit=3)
 
         if branch == '=' and not all:
             continue