summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-06-22 19:39:32 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-06-22 19:39:32 +0000
commit293e0d0473a39f916d10a868c6ef664ed63949c0 (patch)
tree8e7f655ae9a71922ab8c3d275648a6902dcbd101
parentb05ff725fe494d0b21371005bac3c72b17c561f4 (diff)
round-robin-bisect.sh: Fix patch author query
Change-Id: I3542976daf53f3e00356aba9bb6433c48db4d992
-rwxr-xr-xround-robin-bisect.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index 506d616a..dca4604e 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -573,7 +573,8 @@ if [ x"$first_bad" != x"" ]; then
occurences="$(cat interesting-commits/$current_project | grep "^$first_bad" | sed -e "s/^$first_bad *//" | tr ' ' '\n' | sed "s#^# - #")"
if [ "$(echo "$occurences" | wc -l)" -le 1 ]; then
git_log_level="medium"
- notify_author=$(git show --pretty="%an <%ae>" --no-patch "$first_bad")
+ notify_author=$(git -C $current_project log --pretty="%an <%ae>" -n 1 \
+ "$first_bad")
else
git_log_level="short"
fi