diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-17 10:05:35 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-17 10:05:35 -0700 |
commit | 5ca29dfbaba58a6ed167a038b2bcefb07083b04c (patch) | |
tree | f1202a0e444c6524e3fc7479d628a19fb62c41b3 /tests/lib-import-chk | |
parent | e163c8511130654982c5bd79c145e903e8fca1ca (diff) | |
parent | c487f49f00c2a7ab106ef4e5f6cb043e72028986 (diff) |
Merge remote-tracking branch 'dgit/dgit/stretch' into jessie-bpo
Diffstat (limited to 'tests/lib-import-chk')
-rw-r--r-- | tests/lib-import-chk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lib-import-chk b/tests/lib-import-chk index ee33cbe..88984c1 100644 --- a/tests/lib-import-chk +++ b/tests/lib-import-chk @@ -1,4 +1,15 @@ +t-import-chk-authorship () { + perl -ne 'print $1,"\n" if m/^ -- (\S.*\>) /' debian/changelog \ + | sort -u \ + > $tmp/authorship.changelog + ${import_chk_changelog_massage:-:} $tmp/authorship.changelog + git log --pretty=format:'%an <%ae>%n%cn <%ce>' \ + | sort -u \ + > $tmp/authorship.commits + diff $tmp/authorship.{changelog,commits} +} + t-import-chk1 () { p=$1 v=$2 @@ -15,6 +26,8 @@ t-import-chk2() { cd $p + t-import-chk-authorship + git branch first-import m='Commit for import check' |