assume parse_commit checks commit->object.parsed
authorJeff King <peff@peff.net>
Thu, 24 Oct 2013 08:53:01 +0000 (04:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 Oct 2013 22:43:50 +0000 (15:43 -0700)
commit0064053bd76ba385e1b5d51b6175bc17bc507804
tree50da5cf8b850762e6219618292a14941fd163e2f
parent7059dccc6c60a872a314b19ac17702065a71d6bd
assume parse_commit checks commit->object.parsed

The parse_commit function will check the "parsed" flag of
the object and do nothing if it is set. There is no need
for callers to check the flag themselves, and doing so only
clutters the code.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
builtin/name-rev.c
builtin/show-branch.c
fetch-pack.c