@@ -36,7 +36,7 @@ type Config struct {
3636// `configKeyMatchesPrefix()`), and strip off the prefix in the keys
3737// that are returned.
3838func (repo * Repository ) GetConfig (prefix string ) (* Config , error ) {
39- cmd := repo .gitCommand ("config" , "--list" , "-z" )
39+ cmd := repo .GitCommand ("config" , "--list" , "-z" )
4040
4141 out , err := cmd .Output ()
4242 if err != nil {
@@ -114,7 +114,7 @@ func configKeyMatchesPrefix(key, prefix string) (bool, string) {
114114}
115115
116116func (repo * Repository ) ConfigStringDefault (key string , defaultValue string ) (string , error ) {
117- cmd := repo .gitCommand (
117+ cmd := repo .GitCommand (
118118 "config" ,
119119 "--default" , defaultValue ,
120120 key ,
@@ -133,7 +133,7 @@ func (repo *Repository) ConfigStringDefault(key string, defaultValue string) (st
133133}
134134
135135func (repo * Repository ) ConfigBoolDefault (key string , defaultValue bool ) (bool , error ) {
136- cmd := repo .gitCommand (
136+ cmd := repo .GitCommand (
137137 "config" ,
138138 "--type" , "bool" ,
139139 "--default" , strconv .FormatBool (defaultValue ),
@@ -155,7 +155,7 @@ func (repo *Repository) ConfigBoolDefault(key string, defaultValue bool) (bool,
155155}
156156
157157func (repo * Repository ) ConfigIntDefault (key string , defaultValue int ) (int , error ) {
158- cmd := repo .gitCommand (
158+ cmd := repo .GitCommand (
159159 "config" ,
160160 "--type" , "int" ,
161161 "--default" , strconv .Itoa (defaultValue ),
0 commit comments