From: Emil Velikov Date: Thu, 8 Nov 2018 15:05:13 +0000 (+0000) Subject: bin/get-pick-list.sh: simplify git oneline printing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=559c32d2412b2ea602bb59aa61da75403d01a872;p=mesa.git 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 Reviewed-by: Eric Engestrom Signed-off-by: Emil Velikov --- diff --git a/bin/get-pick-list.sh b/bin/get-pick-list.sh index 9e9a39e494b..ba741cc4114 100755 --- a/bin/get-pick-list.sh +++ b/bin/get-pick-list.sh @@ -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