Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
fix: git config and askpass
Browse files Browse the repository at this point in the history
refs  #329
;

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Feb 14, 2020
1 parent 85a1ac0 commit 477da89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/git.go
Expand Up @@ -12,7 +12,7 @@ import (
)

// nolint: gochecknoglobals
var gitCmdEnv = append(os.Environ(), "GIT_CONFIG_NOSYSTEM=1", "GIT_TERMINAL_PROMPT=0", "GIT_ASKPASS=0")
var gitCmdEnv = append(os.Environ(), "GIT_TERMINAL_PROMPT=0", "GIT_ASKPASS=0", "SSH_ASKPASS=0")

This comment has been minimized.

Copy link
@jaredallard

jaredallard Feb 16, 2020

Any interest in using go-git instead of exec-ing git? Happy to maybe look into making a PR if there is :)

This comment has been minimized.

Copy link
@caarlos0

caarlos0 Feb 16, 2020

Author Member

yeah I even have a branch somewhere with something worked on... haven't made the time to finish it though...

feel free to open a pr if you want to :)


type gitProject struct {
URL string
Expand Down

0 comments on commit 477da89

Please sign in to comment.