Merge branch 'jk/misc-resolve-ref-unsafe-fixes'
authorJunio C Hamano <gitster@pobox.com>
Mon, 6 Nov 2017 04:11:24 +0000 (13:11 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Nov 2017 04:11:24 +0000 (13:11 +0900)
Some codepaths did not check for errors when asking what branch the
HEAD points at, which have been fixed.

* jk/misc-resolve-ref-unsafe-fixes:
worktree: handle broken symrefs in find_shared_symref()
log: handle broken HEAD in decoration check
remote: handle broken symrefs
test-ref-store: avoid passing NULL to printf

Trivial merge