Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix typo
  • Loading branch information
juj committed Aug 26, 2025
commit 143bb4da0590044b98c7c4474aa3301ebece8391
4 changes: 2 additions & 2 deletions emsdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,8 @@ def git_pull(repo_path, branch_or_tag, remote_name='origin'):
if target_is_tag:
ret = run([GIT(), 'checkout', '--recurse-submodules', '--quiet', branch_or_tag], repo_path)
else:
local_branch_prefix = ('remote_name' + '_') if remote_name != 'origin' else ''
ret = run([GIT(), 'checkout', '--recurse-submodules', '--quiet', '-B', 'local_branch_prefix' + 'branch_or_tag',
local_branch_prefix = (remote_name + '_') if remote_name != 'origin' else ''
ret = run([GIT(), 'checkout', '--recurse-submodules', '--quiet', '-B', local_branch_prefix + branch_or_tag,
'--track', remote_name + '/' + branch_or_tag], repo_path)
if ret != 0:
return False
Expand Down