On 26 April 2018 at 18:45, Dylan Baker <dy...@pnwbakers.com> wrote:
> I have pretty default to short, which breaks this script.
>
Out of curiosity: why would you do this to yourself ;-)

> cc: Emil Velikov <emil.veli...@collabora.com>
> cc: Andres Gomez <ago...@igalia.com>
> cc: Juan A. Suarez <jasua...@igalia.com>
> Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com>
> ---
>  bin/get-fixes-pick-list.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bin/get-fixes-pick-list.sh b/bin/get-fixes-pick-list.sh
> index fb7ef223820..983af0983dd 100755
> --- a/bin/get-fixes-pick-list.sh
> +++ b/bin/get-fixes-pick-list.sh
> @@ -38,7 +38,7 @@ do
>
>         # Place every "fixes:" tag on its own line and join with the next word
>         # on its line or a later one.
> -       fixes=`git show -s $sha | tr -d "\n" | sed -e 
> 's/fixes:[[:space:]]*/\nfixes:/Ig' | grep "fixes:" | sed -e 
> 's/\(fixes:[a-zA-Z0-9]*\).*$/\1/'`
> +       fixes=`git show --pretty=medium -s $sha | tr -d "\n" | sed -e 
> 's/fixes:[[:space:]]*/\nfixes:/Ig' | grep "fixes:" | sed -e 
> 's/\(fixes:[a-zA-Z0-9]*\).*$/\1/'`
>
An on a serious note - there are plenty of places that will need this
kind of fix.
Pretty much any git show/log instances that do not specify --pretty.

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to