From: Eric Sunshine Date: Fri, 17 Jul 2015 23:00:01 +0000 (-0400) Subject: checkout: check_linked_checkout: improve "already checked out" aesthetic X-Git-Tag: v2.12.0~2^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/39e69e151951040b952b3c81d2ee40b827fd9abf?ds=inline;hp=39e69e151951040b952b3c81d2ee40b827fd9abf checkout: check_linked_checkout: improve "already checked out" aesthetic When check_linked_checkout() discovers that the branch is already checked out elsewhere, it emits the diagnostic: 'blorp' is already checked out at '/some/path/.git' which is misleading since "checked out at" implies the working tree, but ".git" is the location of the repository administrative files. Fix by dropping ".git" from the message. Signed-off-by: Eric Sunshine Signed-off-by: Junio C Hamano ---