Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store co-authors in git config #21

Open
dideler opened this issue Apr 29, 2018 · 1 comment
Open

Store co-authors in git config #21

dideler opened this issue Apr 29, 2018 · 1 comment
Labels
spike Needs a timeboxed investigation

Comments

@dideler
Copy link
Contributor

dideler commented Apr 29, 2018

Investigate storing co-authors in the (global) git config. E.g.

[git-mob-coauthors]
  rk = Richard Kotze <[email protected]>
  ea = Elliot Alderson <[email protected]>

It's a simpler way to manage a list of authors because we can drop extra dependencies such as a separate file and a JSON parser. Users who store their .gitconfig in their dotfiles will have their co-authors become portable for free.

Do a benchmark, is there a noticeable difference in execution time?

Low priority, our current JSON solution has been working fine. But perhaps worth checking out before v1.

Follow-up would be to add co-authors via git-mob so users never have to switch context and edit a separate file.

@dideler dideler added the spike Needs a timeboxed investigation label Apr 29, 2018
@dideler dideler changed the title Store co-authors in git config? Store co-authors in git config Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spike Needs a timeboxed investigation
Projects
None yet
Development

No branches or pull requests

2 participants
@dideler and others