aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-07-09 00:59:32 -0700
committerJunio C Hamano <gitster@pobox.com>2009-07-09 00:59:32 -0700
commitce4f404c6f059abb4988f4549c6e46a3ba0d56ec (patch)
tree40ca33a90fb2c0ea0092a5571517cc681bae1945 /git.c
parent0da3e1d21f931aef887ff30b2ebf171e3f343ff7 (diff)
parent47e3de0e7968a4176e2c54a36b214d3e7b24ad15 (diff)
downloadgit-ce4f404c6f059abb4988f4549c6e46a3ba0d56ec.tar.gz
git-ce4f404c6f059abb4988f4549c6e46a3ba0d56ec.tar.xz
Merge branch 'js/run-command-updates' (early part)
* 'js/run-command-updates' (early part): MinGW: truncate exit()'s argument to lowest 8 bits
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 9acce9185..807d875ae 100644
--- a/git.c
+++ b/git.c
@@ -245,7 +245,7 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
status = p->fn(argc, argv, prefix);
if (status)
- return status & 0xff;
+ return status;
/* Somebody closed stdout? */
if (fstat(fileno(stdout), &st))