summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2018-11-08 15:05:13 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2018-11-21 10:12:25 +0100
commit4c2b1b65679e6719bc11e60f9bd1ba790048d0e7 (patch)
treeebf57b91a8a62c6b12e94c6f9016b0724a595679
parentf982ce6f0ab1ab800c289536cbf865f680e1d3bb (diff)
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 559c32d2412b2ea602bb59aa61da75403d01a872)
-rwxr-xr-xbin/get-pick-list.sh2
1 files changed, 1 insertions, 1 deletions
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