From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 9858B1F44D for ; Tue, 2 Apr 2024 00:16:39 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=manjaro.org header.i=@manjaro.org header.a=rsa-sha256 header.s=2021 header.b=TSjNWJW4; dkim-atps=neutral Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B56981F23E76 for ; Tue, 2 Apr 2024 00:16:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF621D524; Tue, 2 Apr 2024 00:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="TSjNWJW4" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A06116FD9 for ; Tue, 2 Apr 2024 00:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712016834; cv=none; b=HJWY/p6ymvQ01juApyrOTIOh9tZhC6mGLt9wS1utOfqOa3Vuttq/2lwdOPzF56eKm0eTZztJHRKn7pQSaZY6x1MbNpdY+y/JRyUzkMqhMCk/X7NSOMBsLUdtRcFnSKMDxv9N7LWtU3/W6CsuIlvMXyrhf1FNS1hDF31imbpW5so= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712016834; c=relaxed/simple; bh=VyFDZfgIm7soKk2AJ8OG788n8fltV6c8sMg2dnP5+Hg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=bep6psLcu73QiIsEL7HHPgVChqHZHfK83054AzJoVwY9gvQoOCnsjoeE22sMwU39kyooOJm1MNsr5NdMmrQC35RVWvwdrXzfki8pYdEUWUAT/K5W/92jTyEiirOi9ML2ZpXM3AtwDIttGspdUkkfOhnNx7EdXTLjJ0+GBvlXdGY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=TSjNWJW4; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org From: Dragan Simic DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1712016828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Py4ZplJraco+AFTTJgke/rHN0FmyF+VtZ08YzeyRrrY=; b=TSjNWJW4zikBcUWPF20xoUsLVI0yFzbUeC1lb1+3jN5HtcELMoU1EaXklL39v6jriQgZqH 5fb3YkTLyOK79ydq78WWy/kzfG3BtCdygy9GqT+s+GqgkT9N15gx1/xybstgeXwvZi3XzB jxedkKfQ2YGnfDYz/y7GJIdk74DRJ5ywTTodnsLC2er+alHzs+dl6+3II97JDg0MuYdUJb B9ki7+REg0SKJ111MZtMVphqqWfxpmrISHEVl7rT+cl846EH9QwlVC6eqVQVu/YU5uhJI5 YBBFGoI7KmMi4jLjJUnfO3cVsHirNc4G5l02xDgfmst7846T5810O77XKidYIA== To: git@vger.kernel.org Subject: [PATCH 0/3] Make support for multi-value configuration options more consistent Date: Tue, 2 Apr 2024 02:13:41 +0200 Message-Id: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org This series adds support for optional placing of additional whitespace characters around the commas in the multi-value, comma-separated values for the "diff.dirstat" and "diff.wsErrorHighlight" configuration options, and the "--dirstat" and "--ws-error-highlight" command-line options. This makes the way multi-(sub)value configuration options can be specified more consistent, because exactly the same additional whitespace characters are already allowed for some of the configuration options. It may also make the configuration files more readable to some users. Dragan Simic (3): diff: support additional whitespace in diff.{dirstat,wsErrorHighlight} t4015: whitespace in diff.wsErrorHighlight and --ws-error-highlight t4047: whitespace in diff.dirstat and --dirstat builtin/gc.c | 4 ++-- diff.c | 14 ++++++++++---- notes.c | 2 +- refs/packed-backend.c | 2 +- string-list.c | 27 +++++++++++++++++++++------ string-list.h | 10 ++++++---- t/helper/test-hashmap.c | 2 +- t/helper/test-json-writer.c | 2 +- t/helper/test-oidmap.c | 2 +- t/helper/test-string-list.c | 4 ++-- t/t4015-diff-whitespace.sh | 36 ++++++++++++++++++++++++++++++++++-- t/t4047-diff-dirstat.sh | 33 ++++++++++++++++++++++++++++++--- 12 files changed, 110 insertions(+), 28 deletions(-)