retr0h / gilt

A GIT layering tool.
https://retr0h.github.io/gilt/
MIT License
21 stars 5 forks source link

Swap out git CLI for go-git #72

Open 0xDEC0DE opened 8 months ago

0xDEC0DE commented 8 months ago

There's an indirect requirement for the git CLI to be installed and in the $PATH for Gilt to work at all. It's also an unspoken requirement for the git to be 2.20 or newer (that isn't a high bar to clear, newer versions than that are even in Debian LTS)

go-git supports bare clones, and has enough worktree support for what Gilt is trying to get done, so it could be folded in and Gilt could handle everything on its own.

This is unfortunately blocked on a lack of filter support for clones in go-git: https://github.com/go-git/go-git/issues/713

0xDEC0DE commented 7 months ago

This looks promising: https://github.com/go-git/go-git/pull/1000

retr0h commented 7 months ago

This looks promising: go-git/go-git#1000

oooOOO

github-actions[bot] commented 5 months ago

Stale issue message

0xDEC0DE commented 5 months ago

200w