Merge branch 'wc/find-commit-with-pattern-on-detached-head'
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2018 21:50:49 +0000 (14:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2018 21:50:49 +0000 (14:50 -0700)
commit53cae9e0f8d793c7e180f79b86ea2745c59f9bee
treed3f05ea6ec5784f6788a68076f7b326fa38df768
parent18a86f32ab91a0be390508c0b3cdc374a00822a0
parent6b3351e799f733561b98241f6ee88a9a72c13400
Merge branch 'wc/find-commit-with-pattern-on-detached-head'

"git rev-parse ':/substring'" did not consider the history leading
only to HEAD when looking for a commit with the given substring,
when the HEAD is detached.  This has been fixed.

* wc/find-commit-with-pattern-on-detached-head:
  sha1-name.c: for ":/", find detached HEAD commits
Documentation/revisions.txt
sha1-name.c
t/t4208-log-magic-pathspec.sh