blame: inline get_patch()
commit7c4ed8c83583517e7e6d851c8c01996ca6c803ff
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 25 Oct 2008 13:30:22 +0000 (25 15:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Oct 2008 19:08:11 +0000 (25 12:08 -0700)
tree03031bef60bd4ac7a40f52692bcf5df6f7ff115a
parent5c283eb13c94be6ca974aa722159dc9838d10d97
blame: inline get_patch()

Inline get_patch() to its only call site as a preparation for getting rid
of struct patch.  Also we don't need to check the ptr members because
fill_origin_blob() already did, and the caller didn't check for NULL
anyway, so drop the test.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c