Mesa (staging/18.3): bin/get-pick-list.sh: simplify git oneline printing
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 16 12:05:12 UTC 2018
Module: Mesa
Branch: staging/18.3
Commit: 9650fc05a5f4fcb8b62151127ca752a5b93d5e8c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9650fc05a5f4fcb8b62151127ca752a5b93d5e8c
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Thu Nov 8 15:05:13 2018 +0000
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 at lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit 559c32d2412b2ea602bb59aa61da75403d01a872)
---
bin/get-pick-list.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/get-pick-list.sh b/bin/get-pick-list.sh
index 9e9a39e494..ba741cc411 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
More information about the mesa-commit
mailing list