summaryrefslogtreecommitdiff
path: root/t/t4018/bash-subshell-function
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2021-05-21 17:29:40 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-24 18:08:22 +0900
commitdb10fc6c09f1f74c4d0a9294ecbb68d390f54f15 (patch)
tree6447030fb9e52f5e00f778b68f1eac6fbfed949d /t/t4018/bash-subshell-function
parentdoc: remove unnecessary rm instances (diff)
downloadtgif-db10fc6c09f1f74c4d0a9294ecbb68d390f54f15.tar.xz
doc: simplify Makefile using .DELETE_ON_ERROR
Currently GNU make already removes files when catching an interruption signal, however, in order to deal with other kinds of errors a workaround is in place to store target output to a temporary file, and only move it to its right place on success. By enabling the built-in .DELETE_ON_ERROR we let make do this task, so we don't have to. This way the rules can be simplified a lot. Suggested-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/bash-subshell-function')
0 files changed, 0 insertions, 0 deletions