summaryrefslogtreecommitdiff
path: root/repo-settings.c
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-29 20:01:18 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-30 14:15:54 -0700
commitac59c742de5f548ed07735fb212cc87129383bcd (patch)
tree9f6f659402251ec99493b72d06b0ca556a28a819 /repo-settings.c
parentbranch: give submodule updating advice before exit (diff)
downloadtgif-ac59c742de5f548ed07735fb212cc87129383bcd.tar.xz
branch --set-upstream-to: be consistent when advising
"git branch --set-upstream-to" behaves differently when advice is enabled/disabled: | | error prefix | exit code | |-----------------+--------------+-----------| | advice enabled | error: | 1 | | advice disabled | fatal: | 128 | Make both cases consistent by using die_message() when advice is enabled (this was first proposed in [1]). [1] https://lore.kernel.org/git/211210.86ee6ldwlc.gmgdl@evledraar.gmail.com Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repo-settings.c')
0 files changed, 0 insertions, 0 deletions