projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04013be
)
guess-crate-copyright: clone quietly for easier copy-paste of output
author
Ximin Luo
<infinity0@debian.org>
Thu, 14 Sep 2017 10:47:39 +0000
(12:47 +0200)
committer
Ximin Luo
<infinity0@debian.org>
Thu, 14 Sep 2017 10:47:39 +0000
(12:47 +0200)
debian/scripts/guess-crate-copyright
patch
|
blob
|
history
diff --git
a/debian/scripts/guess-crate-copyright
b/debian/scripts/guess-crate-copyright
index 8d80e2cde21c43c6655928871e69535625993cc3..13e34d9699a9a6e5b353b93bbaca1f9641b6a54a 100755
(executable)
--- 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 &&