%s is better than my homegrown branch parsing