opnsense-src/tools/tools/git
Gleb Smirnoff d6ed5ff4ac git-arc: fix diff2reviewers() with multiple reviewers
The select command of jq provides us with a multiline output.  Thus, the
${userids} is a newline separated list.  The recent change 9e84289f2c
explicitly said that we aren't going to translate newline to comma when
constructing JSON for the next command.  It also forces the ${userids} to
be printed as is, with shell's field splitting disabled.  So we end up
with invalid JSON, that is missing commas.

Fix this by enabling shell's field splitting by printing ${userids}
outside of double quotes.

Reviewed by:		jlduran, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D47889
Fixes:			9e84289f2c
2024-12-03 18:38:41 -08:00
..
hooks prepare-commit-msg: add 50 column marker 2024-06-10 10:48:32 -04:00
arcgit Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
git-arc.1 git-arc: Document how a reviewer group can be referenced 2024-11-21 10:36:50 +00:00
git-arc.sh git-arc: fix diff2reviewers() with multiple reviewers 2024-12-03 18:38:41 -08:00
HOWTO Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile git-arc(1): Add manual page 2021-02-12 23:35:02 +01:00
mfc-candidates.lua mfc-candidates: Improve hash expansion 2024-11-16 09:56:07 -05:00
mfc-candidates.sh mfc-candidates: Convert to Lua 2024-11-15 15:09:53 -05:00