Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Hardcoded gitconfig path #84

Open
cdenneen opened this issue Mar 9, 2017 · 2 comments
Open

Hardcoded gitconfig path #84

cdenneen opened this issue Mar 9, 2017 · 2 comments

Comments

@cdenneen
Copy link

cdenneen commented Mar 9, 2017

Currently /Users/${::boxen_user}/.gitconfig isn't a parameter that can be overwritten.
Can git::config::global take path as a parameter besides value and just default to the above if not specified?

@jacobbednarz
Copy link
Member

It definitely could. My only concern would be ensuring that the path is reused for all the values you pass in. It wouldn't be global if you pointed it elsewhere.

Happy to review a PR if you'd like to get this going.

@cdenneen
Copy link
Author

cdenneen commented Mar 9, 2017

Something like this:

Git::Config::Global<| |> {
  path => "/Users/${::boxen_user}/.gitconfig.user
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants