From 12b714acc92da3c94acc2e5197f1e831bf054e5a Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 3 Feb 2010 10:15:05 +1100 Subject: [PATCH] summary: update --- summary | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- 2.39.5