bin/get-pick-list.sh: simplify git oneline printing
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 8 Nov 2018 15:05:13 +0000 (15:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Nov 2018 15:51:24 +0000 (15:51 +0000)
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>
bin/get-pick-list.sh

index 9e9a39e494be268a14f6d6c7c20c3638f6a11ca5..ba741cc4114cb3c89945828048026412332cfc0a 100755 (executable)
@@ -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