Open blueyed opened 1 year ago
would prefer to wait for upstream (https://github.com/libgit2/libgit2/issues/3751) rather than hacking this in myself. i only accepted https://github.com/tummychow/git-absorb/pull/22 because upstream explicitly declined to support it.
FWIW, libgit2/libgit2#3751 is closed. The feature seems to be implemented.
ah, that's good to know. ping this issue again when it's available in a git2-rs release and i'll bump for it
When using
$GIT_AUTHOR_EMAIL
and$GIT_COMMITTER_EMAIL
with something else thangit config user.email
, it will display a warning:I think that it should consider the env settings as the current owner - not sure if alone or additionally.
(FWIW, I am using the env variables to use different emails per projects.
It is easy enough to configure
user.email
there additionally, but that might require to do it with many sub-directories / projects for a company stored in a common ancestor dir, where setting the env can be done for all sub-directories more easily)