diff options
author | Glen Choo <chooglen@google.com> | 2022-03-15 14:09:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-16 15:07:43 -0700 |
commit | 55b3f12cb54077463709b2ac20cc64eba7dbf673 (patch) | |
tree | 2b7b890b0188df201a63d2f0019dbd278fd6541e /t/t7816-grep-binary-pattern.sh | |
parent | submodule--helper: run update using child process struct (diff) | |
download | tgif-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 't/t7816-grep-binary-pattern.sh')
0 files changed, 0 insertions, 0 deletions