Also changes so that shallow fetch is performed even when a specific ref is specified. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Upstream-commit: 493a6c3d41bbe4f5741c27cf8af2e88af65485d2 Component: engine
Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 135cca6f52c7862f13f50c30ccf5925038ba40a9 Component: engine