log: Do not decorate replacements with --no-replace-objects
commitb9ad500262843c6110968da1f4e7b6717bc71303
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 25 Aug 2011 15:09:30 +0000 (25 17:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Aug 2011 02:47:24 +0000 (25 19:47 -0700)
treeb97b873eeb47c84c714d575837b9883d38b575e5
parent5267d292ecbdc91018db05275ec6057d2c4cfa18
log: Do not decorate replacements with --no-replace-objects

5267d29 (log: decorate "replaced" on to replaced commits, 2011-08-19)
introduced textual decorations for replaced commits, based on the
detection of refs/replace.

Make it so that additionally the use of --no-replace-objects is
detected: I.e. replaced commits are only decorated as replaced when they
are actually replaced.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c