-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/pull: Collection and ref bindings verification
This verifies the collection and ref bindings in the commit metadata against the collection ID we have stored in the remote config and ref we want to pull from. For the HEAD commits, we also check if the checksum of the commit we just fetched agrees with the checksum we really wanted to pull from the ref. For commits with explicitly specified checksums and without specified refs, we only verify if the commit has the bindings. We are able to only verify the collection binding, though. Closes: #972 Approved by: cgwalters
- Loading branch information
1 parent
d91f6a0
commit cc9a038
Showing
1 changed file
with
147 additions
and
3 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