Bug Report
git version: 2.55.0
git-team version: 2.0.0
go version: ?
failure description
When git team disabled is executed and git team was not enabled before, then core.hooksPath is unset unconditionally.
expected behaviour description
When git team disabled is executed and git team was enabled before, then core.hooksPath is reset to the previous value.
When git team disabled is executed and git team was not enabled before, then core.hooksPath is untouched.
I'd expect a check somewhere near previousHooksPath := appState.PreviousHooksPath in src/command/disable/policy.go
Bug Report
git version: 2.55.0
git-team version: 2.0.0
go version: ?
failure description
When
git team disabledis executed and git team was not enabled before, thencore.hooksPathis unset unconditionally.expected behaviour description
When
git team disabledis executed and git team was enabled before, thencore.hooksPathis reset to the previous value.When
git team disabledis executed and git team was not enabled before, thencore.hooksPathis untouched.I'd expect a check somewhere near
previousHooksPath := appState.PreviousHooksPathinsrc/command/disable/policy.go