From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-4.0 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_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 26EA51F4B4 for ; Thu, 15 Apr 2021 18:37:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234603AbhDOShn (ORCPT ); Thu, 15 Apr 2021 14:37:43 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:53014 "EHLO pb-smtp21.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233052AbhDOShm (ORCPT ); Thu, 15 Apr 2021 14:37:42 -0400 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 66CDD134A4D; Thu, 15 Apr 2021 14:37:19 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=p4XRDISrvHBR FYH8MQdGpJqx24g=; b=jYtLfB4uMMH6C/N3yWC1nyHyENB1LWgh1e8sYZ45Vwi2 VixSNrLTYcgB3EhPO/Az0K/E+ZILMmcoB6VT1oXRhxKd+VFkUrDy4CJJNnj/yxhp 3ekmGWUlZ42UC6DYOf02CWWZKIVjawGTDV+69TWr6fKPc+FTVzyRSNuZ5h/QbQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=WKEj/+ 618ZGOoQy2zTrL+1qOLp7hTtR2BNDFbgwjmNA7aRRH5J9qZW8KGLDLLqFhOSUMOv Az2QcVU30RUNAZ20YXA2m0IJze5hbquMYgGNlJ2XCbPbCabDUD823+CUWRVCM60w WtIgyObJsVAwW4FJetQhoZQZyEj8jgM0lgsQo= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 5C604134A4C; Thu, 15 Apr 2021 14:37:19 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id A4992134A49; Thu, 15 Apr 2021 14:37:16 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Eric Sunshine Cc: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , Git List , Jeff King , Matthieu Moy , Johannes Schindelin Subject: Re: [PATCH 08/16] test-lib functions: add --printf option to test_commit References: <878s5jvl3i.fsf@evledraar.gmail.com> Date: Thu, 15 Apr 2021 11:37:15 -0700 In-Reply-To: (Eric Sunshine's message of "Thu, 15 Apr 2021 10:52:33 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Pobox-Relay-ID: 9A6943FA-9E19-11EB-9509-D609E328BF65-77302942!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Eric Sunshine writes: > On Thu, Apr 15, 2021 at 7:33 AM =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason > wrote: >> On Tue, Apr 13 2021, Junio C Hamano wrote: >> > Eric Sunshine writes: >> >> I don't care for `--raw` either but couldn't think of anything bett= er >> >> at the time. But perhaps a name such as `--allow-escapes` would be >> >> clearer, or perhaps not. `--c-style-escapes`? >> > >> > It's printf(1) style escapes ;-) >> > >> So, the conclusion of this thread is let's keep it as --printf? > > It was bikeshedding on my part, so I don't feel strongly. As > mentioned, I only brought it up because my first thought was to wonder > how interpolation would work. One might suggest --printf-escapes or > --string-escapes but the audience for this is so narrow (Git > developers) that the short and concise --printf is probably > preferable. After seeing you raised the issue, I wish we had a better option name than --printf to be even more clear, but the wish is not strong enough to make me say "let's stop until we come up with the perfect name". I am OK with --printf Thanks.