Merge branch 'jk/robustify-parse-commit'
commit5bb62059f21ebe8a38226f6fbe76f0f9b6ad65f7
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Dec 2013 20:54:01 +0000 (5 12:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Dec 2013 20:54:01 +0000 (5 12:54 -0800)
tree52523c896b1eb72ed8cddb52261b7f9a909b71f0
parentb2a0afd96a40d6cdbba96ac9735a7b489d8d563e
parent3c62183929080c17299d5b404eb092e3d53c161a
Merge branch 'jk/robustify-parse-commit'

* jk/robustify-parse-commit:
  checkout: do not die when leaving broken detached HEAD
  use parse_commit_or_die instead of custom message
  use parse_commit_or_die instead of segfaulting
  assume parse_commit checks for NULL commit
  assume parse_commit checks commit->object.parsed
  log_tree_diff: die when we fail to parse a commit
14 files changed:
builtin/blame.c
builtin/branch.c
builtin/checkout.c
builtin/commit.c
builtin/fast-export.c
builtin/name-rev.c
builtin/show-branch.c
commit.c
commit.h
fetch-pack.c
log-tree.c
sha1_name.c
shallow.c
upload-pack.c