summaryrefslogtreecommitdiff
path: root/builtin-update-ref.c
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2007-11-13 20:05:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-14 23:18:39 (GMT)
commit2488df84a28b5eaae5495a59e390b51874d60a03 (patch)
tree26d139eb8da8bd8fe01b52d8077959a859b621f9 /builtin-update-ref.c
parent80bbe72b76ab91628b493b55ed74f6eec8432fed (diff)
downloadgit-2488df84a28b5eaae5495a59e390b51874d60a03.zip
git-2488df84a28b5eaae5495a59e390b51874d60a03.tar.gz
git-2488df84a28b5eaae5495a59e390b51874d60a03.tar.bz2
builtin run_command: do not exit with -1.
There are shells that do not correctly detect an exit code of -1 as a failure. We simply truncate the status code to the lower 8 bits. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-update-ref.c')
0 files changed, 0 insertions, 0 deletions