aboutsummaryrefslogtreecommitdiff
path: root/git-filter-branch.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-05-13 04:45:56 -0400
committerJunio C Hamano <gitster@pobox.com>2008-05-13 21:45:28 -0700
commit6d9878cc60ba97fc99aa92f40535644938cad907 (patch)
tree2fd3e0dced8c32eb9639abcbb771f8eee51b085c /git-filter-branch.sh
parent30684dfaf8cf96e5afc01668acc01acc0ade59db (diff)
downloadgit-6d9878cc60ba97fc99aa92f40535644938cad907.tar.gz
git-6d9878cc60ba97fc99aa92f40535644938cad907.tar.xz
clone: bsd shell portability fix
When using /bin/sh from FreeBSD 6.1, the value of $? is lost when calling a function inside the 'trap' action. This resulted in clone erroneously indicating success when it should have reported failure. As a workaround, we save the value of $? before calling any functions. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-filter-branch.sh')
0 files changed, 0 insertions, 0 deletions