source/git: add fetch-by-commit support by tonistiigi · Pull Request #6708 · moby/buildkit (original) (raw)
Allow git sources to fetch a pinned commit without resolving the ref against the remote tip, while preserving cache keys for canonical branch refs and covering the behavior with tests.
Signed-off-by: Tonis Tiigi tonistiigi@gmail.com
This file contains hidden or 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
[ Show hidden characters]({{ revealButtonHref }})