git-p4: add option to system() to return subshell status
authorLuke Diamand <luke@diamand.org>
Sat, 21 Nov 2015 09:54:40 +0000 (09:54 +0000)
committerJeff King <peff@peff.net>
Tue, 24 Nov 2015 20:20:15 +0000 (15:20 -0500)
commitcbff4b25e4e6e08637403d76bf32dbbd4d517442
treee6d92c26e0cfd5033e2265a7db139464a466238a
parent74b6fe9202792f43ba01014599c8fe183149c0a3
git-p4: add option to system() to return subshell status

Add an optional parameter ignore_error to the git-p4 system()
function. If used, it will return the subshell exit status
rather than throwing an exception.

Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Jeff King <peff@peff.net>
git-p4.py