bin/get-pick-list.sh: simplify git oneline printing

Currently we force disable the pager via "|cat" where --no-pager
exists. Additionally we could use git show instead of git log -n1.

Use those for a slightly more understandable code.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Emil Velikov 2018-11-08 15:05:13 +00:00 committed by Emil Velikov
parent 7d9556681d
commit 559c32d241
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ do
continue
fi
git log -n1 --pretty=oneline $sha | cat
git --no-pager show --summary --oneline $sha
done
rm -f already_picked