Code

Clean up reporting differences on branch switch
authorDaniel Barkalow <barkalow@iabervon.org>
Tue, 19 Feb 2008 07:52:14 +0000 (02:52 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Feb 2008 08:25:52 +0000 (00:25 -0800)
commit569012bf91ddb25220483e8912e079ce8a501525
tree2bf1cc33466fe62aa46cf5bd0bb4f6e13547f42a
parentb249b552e012824f1bd5026187bf9b895c2132c6
Clean up reporting differences on branch switch

This also changes it such that:

$ git checkout

will give the same information without changing branches. This is good
for finding out if the fetch you did recently had anything to say
about the branch you've been on, whose name you don't remember at the
moment.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c