-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Description
I would like to move the transcrypt password out of the git config file and come up with some other method of storing it.
I'm wondering if you'd be open to creating functions for get_password()
and set_password()
, something like this:
get_password() {
local password=$(git config --get --local transcrypt.password)
echo "$password"
}
set_password() {
local password=$1
git config transcrypt.password "$password"
}
the code would call those like this:
current_password=$(get_password)
set_password "$password"
Then in my implementation I would just have to modify those functions and not all the places that get/set the password. Would you be open to that?
Oh, with these names the current get_password()
would have to be renamed, maybe get_password_from_user()
?
Metadata
Metadata
Assignees
Labels
No labels