Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2025 20:16:48 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3a20f630a9fc - main - git-arc: Fix handling of author names when we have to make a guess
Message-ID:  <202507072016.567KGmQr006477@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3a20f630a9fcf6a1267cd527464edf71d01c8771

commit 3a20f630a9fcf6a1267cd527464edf71d01c8771
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-07-07 16:50:10 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-07-07 20:16:30 +0000

    git-arc: Fix handling of author names when we have to make a guess
    
    The output printed by this function is used as the author name, so we
    don't want to print informational messages to stdout.
---
 tools/tools/git/git-arc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
index d953a30cb90d..22df0c61293a 100644
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -545,7 +545,7 @@ find_author()
     # don't know if the prior _ are _ or + or any number of other characters.
     # Since there's issues here, prompt
     a=$(printf "%s <%s>\n" "${name}" $(echo "$addr" | sed -e 's/\(.*\)_/\1@/'))
-    echo "Making best guess: Turning ${addr} to ${a}"
+    echo "Making best guess: Turning ${addr} to ${a}" >&2
     if ! prompt; then
         echo "ABORT"
         return



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507072016.567KGmQr006477>