branch: give submodule updating advice before exit
commitcfbda6ba6b33e903df58f96fdb2ee9314097ff2f
authorGlen Choo <chooglen@google.com>
Tue, 29 Mar 2022 20:01:17 +0000 (29 20:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Mar 2022 20:40:00 +0000 (30 13:40 -0700)
tree4cf0027e42b5db9ef84f91c43984898002cc1ed3
parent75388bf5b47678c95f24b58007d2b37d744bf0f7
branch: give submodule updating advice before exit

Fix a bug where "hint:" was printed _before_ "fatal:" (instead of the
other way around).

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c