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>
This commit is contained in:
committed by
Emil Velikov
parent
7d9556681d
commit
559c32d241
@@ -32,7 +32,7 @@ do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git log -n1 --pretty=oneline $sha | cat
|
git --no-pager show --summary --oneline $sha
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -f already_picked
|
rm -f already_picked
|
||||||
|
|||||||
Reference in New Issue
Block a user