Skip to content
Commit fb750b9f authored by Patrick Bellasi's avatar Patrick Bellasi Committed by Valentin Schneider
Browse files

git: Decode branch names and sha1



In find_shortest_symref() the subprocess command we use to get the list
of git branches returns a byte string. We then split this into byte
string 'name' and 'sha1' where this last will never match the SHA1
parameter passed in as a string.

Fix it be parsing the output of the subprocess command as normal
strings.

Signed-off-by: default avatarPatrick Bellasi <patrick.bellasi@arm.com>
parent 75af52d3
Loading
Loading
Loading
Loading
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