b61f5e2e48
Allow checking out any ref in gitutils
...
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
2017-05-04 14:14:50 -07:00
c39a2ca771
Fix gitconfig dependency in pkg/gitutils.TestCheckoutGit
...
Fix #23152
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: efc250bc6b1c252a5884011402b9e4dc4a1632d7
Component: engine
2016-06-02 17:44:09 +09:00
44d4475feb
Windows CI: Unit tests - port pkg\gitutils
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: eaf41b74107d4cd5b2d498abd622a492aa6b2d62
Component: engine
2016-02-11 18:19:17 -08:00
86409751de
utils: move git functions to pkg/gitutils
...
Signed-off-by: Tibor Vass <tibor@docker.com >
Upstream-commit: 135cca6f52c7862f13f50c30ccf5925038ba40a9
Component: engine
2015-12-14 14:59:52 +01:00