Merge pull request #453 from Morganamilo/fix#451

Disable git terminal prompt
This commit is contained in:
Anna authored and GitHub committed 2018-06-02 13:58:48 +01:00
commit 3eb89aac7f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ func getPkgbuilds(pkgs []string) error {
}
// GetPkgbuild downloads pkgbuild from the ABS.
func getPkgbuildsfromABS(pkgs []string, path string) (missing bool,err error) {
func getPkgbuildsfromABS(pkgs []string, path string) (missing bool, err error) {
dbList, err := alpmHandle.SyncDbs()
if err != nil {
return
+1
View File
@@ -136,6 +136,7 @@ func getCommit(url string, branch string, protocols []string) string {
cmd := exec.Command(config.GitBin, "ls-remote", protocol+"://"+url, branch)
cmd.Stdout = &outbuf
cmd.Env = append(cmd.Env, "GIT_TERMINAL_PROMPT=0")
err := cmd.Start()
if err != nil {