summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorHu Xiuyun <clouds08@qq.com>2015-11-25 15:52:26 +0800
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2015-11-26 02:25:43 +0000
commite9becc079c647f6c9477eed83c0aecb2f591fdf4 (patch)
tree6fc68e16b2bdba169d97a08e17d92ba4892d68ef /docs
parent466b8c4ea26f119f2b0532ece764c543e78a873e (diff)
downloadgit-repo-e9becc079c647f6c9477eed83c0aecb2f591fdf4.tar.gz
Sync: Fix error exit code when both -n and -f are used
When repo sync is used with -f (--force-error) and a project fails to sync, the sync will continue but then exit with an error status. However if -n (--network-only) is also used, the exit code is 0, even when a project failed. Modify the logic to make sure the sync exits with the correct status. Bug: Issue 214 Change-Id: I0b5d97a34642c5aa3743750ef14a42c9d5743c1d
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions