Commit Graph
6 Commits
Author SHA1 Message Date
Tonis Tiigi b5286f8dcb apply x/tools/modernize fixes
Autogenerated with couple of manual patches.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-03-07 08:18:45 -08:00
Steeve Chailloux 4f97acfe0f fix git http_proxy ignored
Signed-off-by: Steeve Chailloux <me@steeve.io>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-01-17 10:27:58 -08:00
Justin Chadwell 90d2d8b1c6 git: allow cloning commit shas not referenced by branch/tag
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-22 11:38:04 +01:00
Justin Chadwell 6493fd064c git: ensure exec option is propagated to child git clis
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-07-02 22:09:04 -07:00
Stephen Day 035832e0c9 gitutil: preserve error type when wrapping
Signed-off-by: Stephen Day <stephen.day@docker.com>
2024-05-21 16:34:28 -07:00
Justin Chadwell d34b2471cd git: centralize git cli operations
Move all of the git command line logic into a single object, inspired by
the object already in buildx.

The basic implemenation allows for configuring a git cli for a specific
repository, along with various authorization settings and custom
binaries. Commands can be run for that repository, and a few helpers are
provided for accessing data on it - more to come in the future
hopefully.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-08-24 12:22:15 +01:00