Skip to content
Snippets Groups Projects
Unverified Commit 2ec3ec63 authored by Arnav Singh's avatar Arnav Singh
Browse files

frontend: fix crash from running `status` on non-checked-out branch (MR 27)

`mrhlpr status 123` on a non-checked-out branch would panic because
`commits_follow_format` was an undefined variable.
parent bc35aee2
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,8 @@ def print_status(mr_id, no_cache=False):
clean_worktree = None
commits = []
commits_have_id = None
commits_follow_format = None
subj_err = []
commits_are_signed = None
target_branch = status["target_branch"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment