define "long name" in git_reference_name_to_id
refs: export the glob iterator
Merge pull request #1597 from zodiac/patch-1

define "long name" in git_reference_name_to_id