소스 검색

app.py: remove redundant checkout call outside APSourceMetadataFetcher

Shiv Tyagi 1 년 전
부모
커밋
11f76356f9
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      app.py

+ 0 - 7
app.py

@@ -607,13 +607,6 @@ def boards_and_features(vehicle_name, remote_name, commit_reference):
     app.logger.info('Board list and build options requested for %s %s %s' % (vehicle_name, remote_name, commit_reference))
     # getting board list for the branch
     with repo.get_checkout_lock():
-        repo.checkout_remote_commit_ref(
-            remote=remote_name,
-            commit_ref=commit_reference,
-            force=True,
-            hard_reset=True,
-            clean_working_tree=True,
-        )
         (boards, default_board) = ap_src_metadata_fetcher.get_boards_at_commit(
             remote=remote_name,
             commit_ref=commit_reference