Skip to content

Commit a33e40f

Browse files
authored
Merge pull request #314 from bulislaw/master
GIT: Add fetching tags to mbed update
2 parents 8ab5bc0 + bd00ab2 commit a33e40f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def publish(all_refs=None):
577577

578578
def fetch():
579579
log("Fetching revisions from remote repository to \"%s\"" % os.path.basename(os.getcwd()))
580-
popen([git_cmd, 'fetch', '--all'] + (['-v'] if very_verbose else ([] if verbose else ['-q'])))
580+
popen([git_cmd, 'fetch', '--all', '--tags'] + (['-v'] if very_verbose else ([] if verbose else ['-q'])))
581581

582582
def discard(clean_files=False):
583583
log("Discarding local changes in \"%s\"" % os.path.basename(os.getcwd()))

0 commit comments

Comments
 (0)