-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subtree: use contains_shallow_copy() in ctx.files()
Summary: For subtree commits, we only need to compute the file list if it contains shallow copy. So this diffs check that to determine if the manifest diff is needed. Later, we will make `self._changeset.files` an empty list if the commit contains a shallow copy, and in long-term, we will remove the file list from commit text. Reviewed By: muirdm Differential Revision: D65462388 fbshipit-source-id: c85e8fa8a1d45807dd100d39990e8ea0b828eceb
- Loading branch information
1 parent
bf16e55
commit b3d4e5f
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters