git-gutter icon indicating copy to clipboard operation
git-gutter copied to clipboard

[FR/Q] Use git-gutter with `vcsh`

Open NightMachinery opened this issue 4 years ago • 2 comments

I use vcsh to manage my dotfiles. I was wondering if it's possible to make git-gutter work with vcsh?

NightMachinery avatar Jun 03 '21 11:06 NightMachinery

At a code level I guess you would add vcsh as a new VCS backend that calls the vcsh commands however they need to be called. At minimum you'll need a way to determine what vcsh bare repo corresponds to the dotfile you're editing, and be able to perform a diff against the corresponding vcsh bare repo. That seems doable, but I'm not familiar enough with vcsh to be sure.

gonewest818 avatar Apr 23 '22 18:04 gonewest818

you'll need a way to determine what vcsh bare repo corresponds to the dotfile you're editing

This is probably not possible without explicit user configuration. The diff part is easy though: vcsh reponame diff …

NightMachinery avatar Apr 24 '22 04:04 NightMachinery