Summary: | git-fetch exit status | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | at <at> |
Component: | git-core | Assignee: | placeholder <placeholder> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P2 | CC: | glebfm, ldv, placeholder |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
at@altlinux.org
2007-01-31 10:43:24 MSK
--- /usr/bin/git-fetch- 2007-01-09 20:39:26 +0000 +++ /usr/bin/git-fetch 2007-01-31 07:58:34 +0000 @@ -415,6 +415,10 @@ fetch_main () { append_fetch_head "$sha1" "$remote" \ "$remote_name" "$remote_nick" "$local_name" "$not_for_merge" done + + # pipe exit status + [ $? = 0 ] || exit 1 + if [ "$pack_lockfile" ]; then rm -f "$pack_lockfile"; fi ) || exit ;; esac Looks like fixed in 1.5.0 |