checkout: report where the new HEAD is upon detaching HEAD
commitabba9dbbf450d4037a5e2054250f197169ac63eb
authorJunio C Hamano <junkio@cox.net>
Fri, 23 Mar 2007 09:37:19 +0000 (23 02:37 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Mar 2007 09:48:09 +0000 (23 02:48 -0700)
tree3eef9d90cba419ef34d88929b6a7ab8b2f33ca81
parenta17c4101003dbadc13d404a5dd5d106de1e57a3a
checkout: report where the new HEAD is upon detaching HEAD

After "git reset" moves the HEAD around, it reports which commit
you are on, which gives the user a warm fuzzy feeling of
assurance.  Give the same assurance from git-checkout when
moving the detached HEAD around.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh