guess-crate-copyright: clone quietly for easier copy-paste of output
authorXimin Luo <infinity0@debian.org>
Thu, 14 Sep 2017 10:47:39 +0000 (12:47 +0200)
committerXimin Luo <infinity0@debian.org>
Thu, 14 Sep 2017 10:47:39 +0000 (12:47 +0200)
debian/scripts/guess-crate-copyright

index 8d80e2cde21c43c6655928871e69535625993cc3..13e34d9699a9a6e5b353b93bbaca1f9641b6a54a 100755 (executable)
@@ -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 &&