Skip to content

Commit

Permalink
Add "--force" for git update // Issue #3060
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Oct 2, 2019
1 parent d38c843 commit c297063
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platformio/vcsclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ def export(self):
assert self.run_cmd(args)
if is_commit:
assert self.run_cmd(["reset", "--hard", self.tag])
return self.run_cmd(["submodule", "update", "--init", "--recursive"])
return self.run_cmd(
["submodule", "update", "--init", "--recursive", "--force"]
)
return True

def update(self):
Expand Down

0 comments on commit c297063

Please sign in to comment.