summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-15 14:09:20 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-16 15:07:43 -0700
commit55b3f12cb54077463709b2ac20cc64eba7dbf673 (patch)
tree2b7b890b0188df201a63d2f0019dbd278fd6541e /strbuf.h
parentsubmodule--helper: run update using child process struct (diff)
downloadtgif-55b3f12cb54077463709b2ac20cc64eba7dbf673.tar.xz
submodule update: use die_message()
Use die_message() to print the "fatal: " prefix instead of doing it in git-submodule.sh and remove a now-unnecessary exit code from "git submodule--helper run-update-procedure". Also, since die_message() adds the newline for us, replace an invocation of die_with_status() with printf + exit invocations that do not add a newline, but are otherwise identical to die_with_status(). Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions