Replies: 1 comment 1 reply
-
Heyo, maintainer of
It's definitely something I think would be useful in the future, just not right now! I haven't taken an in-depth look, but if the time comes, how would you like |
Beta Was this translation helpful? Give feedback.
-
As of git 2.31
Unsure if compatibility with this is within scope for gitoxide but I thought I'd share a crate I just made that might be useful, git-config-env
git-config-env
supports:GIT_CONFIG_PARAMETERS
env var is for passinggit -c key=value
from thegit
process to an external sub-command. There are two ways of quoting the value being passed down, pre-2.31 and 2.31+. Like with git, git-config-env's parser supports reading both.GIT_CONFIG_COUNT
,GIT_CONFIG_KEY_<n>
,GIT_CONFIG_VALUE_<n>
env vars are a way for anyone to pass configuration through the environment.-c
argumentCurrent limitations:
GIT_CONFIG_PARAMETERS
which does some allocations to simplify parsing bookkeepingGIT_CONFIG_PARAMETERS
These were out of scope for my needs but can definitely add or accept contributions if these are needed by gitoxide.
Note: doc.rs' queue is backed up so as of writing this, docs are not posted yet.
Beta Was this translation helpful? Give feedback.
All reactions