diff options
author | Juan A. Suarez Romero <jasuarez@igalia.com> | 2017-04-05 20:18:42 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2017-04-20 10:28:54 +0200 |
commit | 3af7f8275b806d42daaad6f700c3917f8e33d3e4 (patch) | |
tree | 03186dafc993ab9f02729e904ec748e9f56766c2 /bin/get-extra-pick-list.sh | |
parent | 99b41631bb98d154df3dd01f17edd5e5a6a7d1f1 (diff) |
bin/get-{extra,fixes}-pick-list.sh: improve output
Show the commit hash and the title in a way that it is easier to copy
and paste in the bin/.cherry-ignore-extra file if we want to ignore
those commits for the future.
v2:
- Use printf instead echo (Eric Engestrom)
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'bin/get-extra-pick-list.sh')
-rwxr-xr-x | bin/get-extra-pick-list.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/get-extra-pick-list.sh b/bin/get-extra-pick-list.sh index dbd5474befa..b42085f2aba 100755 --- a/bin/get-extra-pick-list.sh +++ b/bin/get-extra-pick-list.sh @@ -36,7 +36,9 @@ do continue fi fi - echo Commit $candidate references $sha + printf "Commit \"%s\" references %s\n" \ + "`git log -n1 --pretty=oneline $candidate`" \ + "$sha" done done |