summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2015-02-26 15:17:02 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2015-02-26 15:23:10 -0500
commit195d07d037a0d048d903cb82ccd32bb0614c3cf2 (patch)
tree67557f9238061930d1efbc2b53299c286bf310bc /Makefile
parentf55601c91eb7f6e2233c25583bc3ff92e713fa56 (diff)
downloadgit-bz-195d07d037a0d048d903cb82ccd32bb0614c3cf2.tar.gz
Improve handling of pushes with failures
A non-zero exit status from 'git push' doesn't necessarily mean that nothing was pushed - we should parse the output just as for a zero exit status. This requires adding a new option _ignore_exit_status to git_run(). For --dry, we can actually pay attention to the return code, but need to fix up previous logic where we returned None instead of a list of commits, and then tried to iterate over None. For clarity, let CalledProcessError throw through rather than special-casing a return of None. Inspired by a patch from Philip Withnall. https://bugzilla.gnome.org/show_bug.cgi?id=620668
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions