From 293e0d0473a39f916d10a868c6ef664ed63949c0 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Tue, 22 Jun 2021 19:39:32 +0000 Subject: round-robin-bisect.sh: Fix patch author query Change-Id: I3542976daf53f3e00356aba9bb6433c48db4d992 --- round-robin-bisect.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3