Skip to content
Snippets Groups Projects
Commit a4429fad authored by Simona Vetter's avatar Simona Vetter
Browse files

dim: git_fetch_helper


Old versions of git fetch exited with 128 when there was nothing to
fetch. But ignoring all return values is bad as Chris recently found
out, since then rebuilding drm-tip might go back to older branch
versions if the fetch fails for some reason.

I also noticed that current git (I have 2.11 here) don't exhibit this
anymore.

v2: s/exit/return/ to give callers a chance to do something with this.
We use set -e, so same result (Jani).

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 8afe589e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment