Merge branch 'jc/fix-clone-single-starting-at-a-tag'
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)
"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

1  2 
builtin/clone.c

diff --cc builtin/clone.c
Simple merge