Fix parsing of Git branches with common and useful name "0"

Authored by epriestley on Oct 4 2017, 3:22 PM.

Description

Fix parsing of Git branches with common and useful name "0"

Summary: See https://discourse.phabricator-community.org/t/arc-has-a-spurious-failure-on-arc-diff/521. Oh, PHP!

Test Plan: Created a branch named "0", ran arc diff. Before: fatal. After: this beautiful revision.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18678

Details

Committed
epriestleyOct 4 2017, 5:20 PM
Pushed
epriestleyOct 4 2017, 5:20 PM
Reviewer
amckinley
Differential Revision
D18678: Fix parsing of Git branches with common and useful name "0"
Parents
rARCc804c5026011: Don't show a blank line if there is no user data
Branches
Unknown
Tags
Unknown
Build Status
Buildable 18628
Build 25095: Run Core Tests