diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-04-26 10:44:00 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-04-26 10:44:15 -0700 |
commit | 0ce18e6710a7b4f6599175084b58cea25335409e (patch) | |
tree | 7ca0e20e71972648d4377cf337578b39eff83ea3 | |
parent | ff1ecebb1df61a313db0306c3a45be1f16fbe3dd (diff) |
bin: force git show to use default pretty setting
I have pretty default to short, which breaks this script.
cc: Emil Velikov <emil.velikov@collabora.com>
cc: Andres Gomez <agomez@igalia.com>
cc: Juan A. Suarez <jasuarez@igalia.com>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
-rwxr-xr-x | bin/get-fixes-pick-list.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-fixes-pick-list.sh b/bin/get-fixes-pick-list.sh index fb7ef22382..983af0983d 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/'` # For each one try to extract the tag fixes_count=`echo "$fixes" | wc -l` |