-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Labels
feature-requestRequest for a feature to existing moduleRequest for a feature to existing modulemini.diff
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
Module(s)
mini.diff
Description
My use case is fairly straight forward: I use yadm (Yet Another Dotfiles Manager), and I want mini.diff to work reliably.
yadm is essentially a wrapper around git where the repo directory and the work directory differ.
Currently, I'm doing a copy and paste of all of the git functionality from mini.diff to create a yadm source, and replacing all of the references to git with yadm, but that's a pain to maintain, and really, it should be unnecessary.
The only thing that I need to be able to customize is the git command itself, though, if I were implementing this as a general thing, I'd add the ability to add custom arguments to all command runs as well.
Ideally, I would be able to do something like:
source = {
MiniDiff.gen_source.git(),
MiniDiff.gen_source.git({git_cmd = "yadm"}),
MiniDiff.gen_source.save(),
},
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestRequest for a feature to existing moduleRequest for a feature to existing modulemini.diff