mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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>
(cherry picked from commit 559c32d241)
This commit is contained in:
parent
f982ce6f0a
commit
4c2b1b6567
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue