Skip to content

Commit

Permalink
EdkRepo Manifest Parser: Add sparse checkout data to pin files
Browse files Browse the repository at this point in the history
Fixes tianocore#195

Signed-off-by: Ashley E Desimone <[email protected]>
  • Loading branch information
ashedesimone committed Oct 13, 2023
1 parent 02bee5d commit 2140449
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions edkrepo_manifest_parser/edk_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ def generate_pin_etree(self, description, combo_name, repo_source_list):
if subroot_m is not None:
pin_root.append(subroot_m)

subroot_sparse = self._tree.find('SparseCheckout')
if subroot_sparse is not None:
pin_root.append(subroot_sparse)

hook_root = ET.SubElement(pin_root, 'ClientGitHookList')

submodule_alt_url_root = None
Expand Down

0 comments on commit 2140449

Please sign in to comment.