1
0
Fork 0

Remove the "quiet" option

This commit is contained in:
Luca Beltrame 2022-01-15 09:57:27 +01:00
parent 38cb46eb99
commit a3596a214f
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -78,7 +78,7 @@ def project_exists(project: str) -> bool:
def get_remote_hash(url: str, branch: str = "master") -> str: def get_remote_hash(url: str, branch: str = "master") -> str:
gitcmd = git.cmd.Git() gitcmd = git.cmd.Git()
revision = gitcmd.ls_remote(url, branch, quiet=True, refs=True) revision = gitcmd.ls_remote(url, branch, refs=True)
git_hash, branch = revision.split("\t") git_hash, branch = revision.split("\t")
return git_hash return git_hash