summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/commands/gitconfig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/gitconfig.go b/pkg/commands/gitconfig.go
index ed31f6f29..dbe72c570 100644
--- a/pkg/commands/gitconfig.go
+++ b/pkg/commands/gitconfig.go
@@ -36,7 +36,7 @@ import (
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
func getGitConfigValue(key string) (string, error) {
- gitArgs := append([]string{"config", "--get", "--null", key})
+ gitArgs := []string{"config", "--get", "--null", key}
var stdout bytes.Buffer
cmd := secureexec.Command("git", gitArgs...)
cmd.Stdout = &stdout