Merge branch 'jk/misc-resolve-ref-unsafe-fixes' into maint
commit9fbcb51ec548318f0088a5fee6c77a5f1d8512b4
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 03:04:52 +0000 (15 12:04 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 03:04:52 +0000 (15 12:04 +0900)
tree548dfa2d249d03ddb7bec8653d8e596727bf94ae
parentbb2c9262a5eff9e4d6ddca23f6e0787afbd7b091
parentdbd2b55cb7b06e94096b8c18852a94732e3f76a8
Merge branch 'jk/misc-resolve-ref-unsafe-fixes' into maint

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