commit | 77ebd56dc3d2efaeac87edc990cc1b99f331527c | [log] [tgz] |
---|---|---|
author | Daniel Cordero <theappleman@gmail.com> | Sat May 16 10:54:45 2009 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Sat May 16 12:51:58 2009 -0700 |
tree | 863f3db962ea7157fe925c8d8f20b9687e777044 | |
parent | c646217e1366b0397552fad8c32acb47fbe8977d [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>