Repository navigation
Immutable
release. Only release title and notes can be modified.
A git identity for clones made by running the h binary directly.
Fixes
$H_GIT_OPTSgives the binary an identity. The shell function fromh-shell-initpasses its--git-optsafter--, but scripts, hooks and agents run the binary, which had no other way to get them. Their clones came out withoutuser.name,user.email,user.signingkeyorcredential.username, and anything committed there went out unsigned or under the wrong name. Now, when nothing follows--,hreads the git options from$H_GIT_OPTS, alongside$H_CODE_ROOTand$H_STORE.- It takes the same string as
--git-opts, quotes included, and splits it as the shell function would. - Options after
--still win, and an empty--leaves the identity out.
- It takes the same string as
Under the hood
- Tests: 252 unit and end-to-end tests.