Merge branch 'jc/fix-clone-single-starting-at-a-tag'
commit3d77f72efe79eb90f67aec9ecf6d4bd11fc9a78c
authorJunio C Hamano <gitster@pobox.com>
Thu, 10 Jul 2014 18:17:24 +0000 (10 11:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Jul 2014 18:17:24 +0000 (10 11:17 -0700)
tree5946e9a1e4872fc28c496d1e1387d1c9916d2cd8
parent81e776d92bb19a4fab12dcc537adfd543468d7d0
parent60a5f5fc791d6c133732238736ef0961df600296
Merge branch 'jc/fix-clone-single-starting-at-a-tag'

"git clone -b brefs/tags/bar" would have mistakenly thought we were
following a single tag, even though it was a name of the branch,
because it incorrectly used strstr().

* jc/fix-clone-single-starting-at-a-tag:
  builtin/clone.c: detect a clone starting at a tag correctly
builtin/clone.c