From: Stephen Rothwell Date: Tue, 2 Feb 2010 23:15:05 +0000 (+1100) Subject: summary: update X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=12b714acc92da3c94acc2e5197f1e831bf054e5a;p=next-scripts summary: update --- diff --git a/summary b/summary index cdb8783..a0488bd 100755 --- a/summary +++ b/summary @@ -19,7 +19,9 @@ plog() patch_and_sha_ids() { - echo "$*" | xargs -r -n 1 git diff-tree -p | git patch-id | sort + for id in $*; do + git diff-tree -p "$id" | git patch-id | head -n 1 + done | sort } patch_ids()