diff options
author | Jeff King <peff@peff.net> | 2012-11-15 09:12:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-15 17:36:26 -0800 |
commit | afa8c07a26b9783c41b1066b75a35de1610a3cfa (patch) | |
tree | 29e7880abe604475d222151cc4a3cfc9bcd83521 /credential-cache--daemon.c | |
parent | Git 1.8.0 (diff) | |
download | tgif-afa8c07a26b9783c41b1066b75a35de1610a3cfa.tar.xz |
checkout: print a message when switching unborn branches
When we switch to a new branch using checkout, we usually output a
message indicating what happened. However, when we switch from an unborn
branch to a new branch, we do not print anything, which may leave the
user wondering what happened.
The reason is that the unborn branch is a special case (see abe1998),
and does not follow the usual switch_branches code path. Let's add a
similar informational message to the special case to match the usual
code path.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential-cache--daemon.c')
0 files changed, 0 insertions, 0 deletions