diff options
author | Daniel Cordero <theappleman@gmail.com> | 2009-05-16 10:54:45 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-16 12:51:58 -0700 |
commit | 77ebd56dc3d2efaeac87edc990cc1b99f331527c (patch) | |
tree | 863f3db962ea7157fe925c8d8f20b9687e777044 /setup.c | |
parent | pre-commit.sample: don't print incidental SHA1 (diff) | |
download | tgif-77ebd56dc3d2efaeac87edc990cc1b99f331527c.tar.xz |
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>
Diffstat (limited to 'setup.c')
0 files changed, 0 insertions, 0 deletions