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.
Uh oh!
There was an error while loading. Please reload this page.
-
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-envsupports:GIT_CONFIG_PARAMETERSenv var is for passinggit -c key=valuefrom thegitprocess 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.-cargumentCurrent limitations:
GIT_CONFIG_PARAMETERSwhich does some allocations to simplify parsing bookkeepingGIT_CONFIG_PARAMETERSThese 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