[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 61b120a: Missing --numbered option in git shor

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 61b120a: Missing --numbered option in git shortlog for generating AUTHORS.
Date: Mon, 26 Dec 2016 14:28:04 +0000 (UTC)

branch: master
commit 61b120a6b9de907a26b4cd292707194aec14798a
Author: Boud Roukema <address@hidden>
Commit: Boud Roukema <address@hidden>

    Missing --numbered option in git shortlog for generating AUTHORS.
    The source package script `genauthors' uses the command
    `git shortlog' and generates the file AUTHORS, claiming that
    the authors are ordered by their number of commits. But the
    ordering option was forgotten :). TODO: There is no weighting
    option to differentiate minor commits from significant
    commits. A weighting by the number of lines changed would
    partly overcome this, but the significance of edits is not
    always proportional to the number of lines edited!
 genauthors |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/genauthors b/genauthors
index 8809396..fff6538 100755
--- a/genauthors
+++ b/genauthors
@@ -100,4 +100,5 @@ Ordered by number of commits in the Git project history.
 " > $1/AUTHORS
 # Generate the aggregate list
-git --git-dir=$1/.git shortlog --summary --email --no-merges >> $1/AUTHORS
+git --git-dir=$1/.git shortlog --summary --email --no-merges \
+    --numbered >> $1/AUTHORS

reply via email to

[Prev in Thread] Current Thread [Next in Thread]