Przeglądaj źródła

Use ssh user specified in the config for Git auth

Brendan Abolivier 7 lat temu
rodzic
commit
175f05e91f
Podpisane przez: Brendan Abolivier <contact@brendanabolivier.com> ID klucza GPG: 8EF1500759F70623
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/git/git.go

+ 1
- 1
src/git/git.go Wyświetl plik

59
 		return nil, err
59
 		return nil, err
60
 	}
60
 	}
61
 
61
 
62
-	return &gitssh.PublicKeys{User: "git", Signer: signer}, nil
62
+	return &gitssh.PublicKeys{User: user, Signer: signer}, nil
63
 }
63
 }
64
 
64
 
65
 // clone clones a Git repository into a given path, using a given auth.
65
 // clone clones a Git repository into a given path, using a given auth.