author | Daniel Cordero <theappleman@gmail.com> | |
Sat, 16 May 2009 17:54:45 +0000 (10:54 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 May 2009 19:51:58 +0000 (12:51 -0700) | ||
commit | 77ebd56dc3d2efaeac87edc990cc1b99f331527c | |
tree | 863f3db962ea7157fe925c8d8f20b9687e777044 | tree | snapshot |
parent | c646217e1366b0397552fad8c32acb47fbe8977d | commit | diff |
builtin-checkout: Don't tell user that HEAD has moved before it has
Previously, checkout would tell the user this message before moving HEAD,
without regard to whether the upcoming move will result in success.
If the move failed, this causes confusion.
Show the message after the move, unless the move failed.
Signed-off-by: Daniel Cordero <theappleman@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously, checkout would tell the user this message before moving HEAD,
without regard to whether the upcoming move will result in success.
If the move failed, this causes confusion.
Show the message after the move, unless the move failed.
Signed-off-by: Daniel Cordero <theappleman@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c | diff | blob | history |