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)
"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

1  2 
Documentation/revisions.txt
sha1-name.c
t/t4208-log-magic-pathspec.sh

Simple merge
diff --cc sha1-name.c
Simple merge
Simple merge