diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-01-28 15:16:02 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-30 11:56:12 -0800 |
commit | def16e71819833d507a97a645366c569939dce73 (patch) | |
tree | e387a4914d52a9c97e00217272902c6e8d724e66 /t/t5401-update-hooks.sh | |
parent | 0eab8ca68ad7bfcbb7c0aff37985116cbbdacd44 (diff) | |
download | git-def16e71819833d507a97a645366c569939dce73.tar.gz git-def16e71819833d507a97a645366c569939dce73.tar.xz |
filter-branch.sh: remove temporary directory on failure
One of the first things filter-branch does is to create a temporary
directory. This directory is eventually removed by the script during
normal operation, but is not removed if the script encounters an error.
Set a trap to remove it when the script terminates for any reason.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5401-update-hooks.sh')
0 files changed, 0 insertions, 0 deletions