Merge branch 'jk/read-commit-buffer-data-after-free'
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Feb 2013 18:25:18 +0000 (10:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Feb 2013 18:25:18 +0000 (10:25 -0800)
Clarify the ownership rule for commit->buffer field, which some
callers incorrectly accessed without making sure it is populated.

* jk/read-commit-buffer-data-after-free:
  logmsg_reencode: lazily load missing commit buffers
  logmsg_reencode: never return NULL
  commit: drop useless xstrdup of commit message

1  2 
builtin/commit.c
commit.h

Simple merge
diff --cc commit.h
Simple merge