Skip to content

Commit ce9b7de

Browse files
Add note about branch updates
1 parent d568509 commit ce9b7de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terrafile/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def update_modules(path):
118118
source, version = get_source_from_registry(source, version)
119119

120120
# Skip this module if it has already been checked out.
121+
# This won't skip branches, because they may have changes
122+
# that need to be pulled.
121123
if has_git_tag(path=target, tag=version):
122124
print('Fetched {}/{}'.format(module_path_name, name))
123125
continue

0 commit comments

Comments
 (0)