summaryrefslogtreecommitdiff
path: root/tools/file_check.py
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2021-05-17 16:09:38 +0800
committerguozhanxin <[email protected]>2021-05-17 16:10:55 +0800
commit975a2ef684e829a5b3815886d244301662a2d5b2 (patch)
tree325293176a71a08edbc988249cfdf5477dc4f0e1 /tools/file_check.py
parent6dc38962a995ced0093622669b2dc99e378e7f69 (diff)
【完善】file_check.py 中检查变更文件的逻辑
Diffstat (limited to 'tools/file_check.py')
-rw-r--r--tools/file_check.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/file_check.py b/tools/file_check.py
index 046b2a009f..63767782b5 100644
--- a/tools/file_check.py
+++ b/tools/file_check.py
@@ -84,6 +84,7 @@ class CheckOut:
try:
os.system('git remote add rtt_repo {}'.format(self.rtt_repo))
os.system('git fetch rtt_repo')
+ os.system('git merge rtt_repo/{}'.format(self.rtt_branch))
os.system('git reset rtt_repo/{} --soft'.format(self.rtt_branch))
os.system('git status > git.txt')
except Exception as e: