diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-07-17 19:00:01 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-20 11:29:24 -0700 |
commit | 39e69e151951040b952b3c81d2ee40b827fd9abf (patch) | |
tree | 5263e42a3072e7559e1e467ed9909fbe14285848 /reflog-walk.c | |
parent | checkout: generalize die_if_checked_out() branch name argument (diff) | |
download | tgif-39e69e151951040b952b3c81d2ee40b827fd9abf.tar.xz |
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 <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions