guet set is scoped to a repo
Closed this issue · 1 comments
chiptopher commented
Feature Request
I'd like to scope setting committers to a repo.
Optional user story format:
Context
Currently when you guet set
committers, it'll set those committers for all repositories on the machine.
Acceptance Criteria
When I do guet set
in one repo, committing in another repo won't use the committers from the first repo.
chiptopher commented
As far as implementation is concerned, the .guet/committersset
file is in charge of keeping track of what the current committers are. In follows a format like this:
cb,aw,1578846792059
where the initials are related to a committer, and the last number is the millisecond timestamp that the set was done. To accomplish this, something like this could be done:
cb,aw,1578846792059,/absolute/path/to/worspace/project1/.git
ts,cs,1578846792059,/absolute/path/to/worspace/project2/.git