Code

pretty: add pp_commit_easy function for simple callers
authorJeff King <peff@peff.net>
Thu, 26 May 2011 22:27:24 +0000 (18:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2011 22:47:20 +0000 (15:47 -0700)
commit8b8a53744f60274ef07e3a2a51995129c8d42f38
tree003d6020e014d51269a9b299f5a829b70194227e
parent5b38456ec7bd0229bb35146ab8a905c4b63daeec
pretty: add pp_commit_easy function for simple callers

Many callers don't actually care about the pretty print
context at all; let's just give them a simple way of
pretty-printing a commit without having to create a context
struct.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c
builtin/checkout.c
builtin/log.c
builtin/shortlog.c
builtin/show-branch.c
commit.h
pretty.c