From b967a7ed998f48e5010b59d3b12558abb65eae9e Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Thu, 14 Sep 2017 12:47:39 +0200 Subject: [PATCH] guess-crate-copyright: clone quietly for easier copy-paste of output --- debian/scripts/guess-crate-copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/guess-crate-copyright b/debian/scripts/guess-crate-copyright index 8d80e2cde..13e34d969 100755 --- a/debian/scripts/guess-crate-copyright +++ b/debian/scripts/guess-crate-copyright @@ -20,7 +20,7 @@ for crate in crates: repo = data["package"].get("repository", None) if get_initial_commit and repo: output = subprocess.check_output( - """git clone --bare "%s" tmp.crate-copyright >&2 && + """git clone -q --bare "%s" tmp.crate-copyright >&2 && cd tmp.crate-copyright && git log --format=%%cI --reverse | head -n1 | cut -b1-4 && git log --format=%%cI | head -n1 | cut -b1-4 && -- 2.30.2