checkout: don't rfc2047-encode oneline on detached HEAD
commit278863180a280304d6b7f4ad6f11c1a810463507
authorJeff King <peff@peff.net>
Fri, 2 May 2008 14:05:36 +0000 (2 10:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 4 May 2008 01:47:18 +0000 (3 18:47 -0700)
treed8e07edbd678c33a573259c7cd8443a91feb4df0
parent2d8bed969d5126053abe14ca331d14f287d462f5
checkout: don't rfc2047-encode oneline on detached HEAD

When calling pretty_print_commit, there is an implicit
assumption that passing in a non-NULL "subject" variable
for oneline or email formats means that the output is part
of a subject and therefore "subject" to rfc2047 encoding.
This is not the desired effect when reporting the movement
of detached HEAD.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c