From nobody Tue Nov 05 02:11:58 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XjBfl2Ldkz5cs8b; Tue, 05 Nov 2024 02:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XjBfl0n0Cz42bT; Tue, 5 Nov 2024 02:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730772719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mdWY2w+Bw81323PcAZa2C9h3UgWIA1DWDtAtQG8CMtY=; b=ZV4S4x5uiwWHFVYl1vNBskL2+QLX+C0vSizCsS5nd0H0sqUe/0HzJAvQs5YfU6ipLWeRuz 0Rb6Uf14aIsDLAEb+mQ8L7EU2JttIF6rJWqZQaU8CAnEjLFMW9Udr9y7hcQ9XqbBWjAS1r 5ub+TS81CbEnOahwLnrR7ikPNZk8JbOHj2YjhvMpPtSybQ/sEaDKeICunnqxZZlPhHjtD5 mBCmSFsJQVTTqoJDR09bt4ICwcLyLekaUh5GcM/oU4dk18w+FvwVVM7e8lhlSvmeHYfDt/ CTMvxCuyc43lrPMXdyJTTwmr81t72CMMlDgTod67yuACBWVkU7l8aZRnIqxssA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730772719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mdWY2w+Bw81323PcAZa2C9h3UgWIA1DWDtAtQG8CMtY=; b=rHBpLwlMYpaPGpzP1sHnpnArZk8eDhvhx8Ymr5srdGQOooK07pqZHXzjPb2V0NWCy+pmkd OQm1lMlGFIiWnyr+04UmAzQXqBltZhWcz432M9NKtxFcHZ9e6JDk5CzsmiQxUGqP5A4Bd4 GHANpp3FJ3R8UIOrhsAFsoR3HRT3vsQNJOu282Awp9UaiXS94w/yT2N/9QjNE0N1nLDIuQ v4UdvKd2lmUdjM8PS3jXL04660eoaFyWgdlsGw8lROlN0libxdD5uXPPUtLC82+voydAJm yyhTK26O87ZcxCzIn+FCMUIvxnD9d77pqWNJB+WlpilrjuM/aGjT9iJvURl3Wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730772719; a=rsa-sha256; cv=none; b=QRuiO33IIWqhKbyvCd+YFUeWzIwZQpeffWVQT54F9RCldLomKQvz8qY+n4hzfFGAOP9uBQ V/2Cc/hjTg4qDAgs1vyVRa3IsuUE+8rHqAzN2skB6X/GTGe2WPvhHXKrTBrMzoqtkflFxg 4OsFC31DSC0Wk9t9wy48dLUsA99FIVz5QjlXLDkDBIbco6rI6Y/pPvKCir8l53MWoHixOd nfGi88prEzuKj0CpoqFYeuQyt9U8tp8ebzsOM4WXpw9xxYCECI66XjQwkXzXg0TfHottfw LCdlv+NidxGk2dsINYCmoVFlhOWjT+4KdBPcfXN1F8vvF0mG0vWi7C2wQzXzSA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XjBfl0MQkzxgl; Tue, 5 Nov 2024 02:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A52BwIR020000; Tue, 5 Nov 2024 02:11:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A52Bwbo019997; Tue, 5 Nov 2024 02:11:58 GMT (envelope-from git) Date: Tue, 5 Nov 2024 02:11:58 GMT Message-Id: <202411050211.4A52Bwbo019997@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jose Luis Duran Subject: git: 9e84289f2c7e - main - git-arc: Prefer echo over printf List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jlduran X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9e84289f2c7e6b632047a75b653fcd587287a8b9 Auto-Submitted: auto-generated The branch main has been updated by jlduran: URL: https://cgit.FreeBSD.org/src/commit/?id=9e84289f2c7e6b632047a75b653fcd587287a8b9 commit 9e84289f2c7e6b632047a75b653fcd587287a8b9 Author: Jose Luis Duran AuthorDate: 2024-11-05 01:13:22 +0000 Commit: Jose Luis Duran CommitDate: 2024-11-05 02:10:16 +0000 git-arc: Prefer echo over printf Prefer echo over printf. Prevent the newline character from being translated by using 'blank' instead of 'space' in the re_format. This change was reviewed in: https://reviews.freebsd.org/D47289 Committed separately for clarity. Suggested by: des Approved by: emaste (mentor) --- 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 64d1ee2bd63f..050ec4ec1f2c 100644 --- a/tools/tools/git/git-arc.sh +++ b/tools/tools/git/git-arc.sh @@ -341,7 +341,7 @@ diff2reviewers() jq '.response.data[0].attachments.reviewers.reviewers[] | select(.status == "accepted").reviewerPHID') if [ -n "$userids" ]; then echo '{ - "constraints": {"phids": ['"$(printf "%s" "$userids" | tr '[:space:]' ',')"']} + "constraints": {"phids": ['"$(echo "$userids" | tr '[:blank:]' ',')"']} }' | arc_call_conduit -- user.search | jq -r '.response.data[].fields.username'