summaryrefslogtreecommitdiff
path: root/t/t5561-http-backend.sh
diff options
context:
space:
mode:
authorLibravatar Luke Diamand <luke@diamand.org>2020-01-29 11:12:42 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-30 12:20:57 -0800
commit5c3d5020e66caad0418b5696ba0f3d013641fcdd (patch)
treeac9899b658bc0c8693224f4ab49f1901a1050c98 /t/t5561-http-backend.sh
parentgit-p4: make closeStreams() idempotent (diff)
downloadtgif-5c3d5020e66caad0418b5696ba0f3d013641fcdd.tar.xz
git-p4: add P4CommandException to report errors talking to Perforce
Currently when there is a P4 error, git-p4 calls die() which just exits. This then leaves the git-fast-import process still running, and can even leave p4 itself still running. As a result, git-p4 fails to exit cleanly. This is a particular problem for people running the unit tests in regression. Use this exception to report errors upwards, cleaning up as the error propagates. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5561-http-backend.sh')
0 files changed, 0 insertions, 0 deletions