qiime/qiime — pull request #609 by ElDeveloper (2013-01-08 06:00:21+00:00)
Title: Add is_valid_git_refname and is_valid_git_sha1

Should fix problem where some older versions of git would fail to retrieve the right information.

Two functions were added to validate the output is either a valid commit number and a valid branch name.

See the discussion in issue #603.