Merge branch 'jk/validate-headref-fix'
commitbb3afad386aa2852c2ea86ac50ba33e770ee7efc
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2017 06:42:49 +0000 (3 15:42 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2017 06:42:49 +0000 (3 15:42 +0900)
tree84b24b23472634ff3c3597b9ab863af989d004df
parentcb1083ca23c2f78140b66b925ed0b82fe400eea5
parent0bca165fdb57b032e505161a9450fd5e3edfd19a
Merge branch 'jk/validate-headref-fix'

Code clean-up.

* jk/validate-headref-fix:
  validate_headref: use get_oid_hex for detached HEADs
  validate_headref: use skip_prefix for symref parsing
  validate_headref: NUL-terminate HEAD buffer
path.c