From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D11FEC433DF for ; Mon, 18 May 2020 20:37:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A6406206D4 for ; Mon, 18 May 2020 20:37:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="wXYwL598" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726369AbgERUh6 (ORCPT ); Mon, 18 May 2020 16:37:58 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:62938 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbgERUh6 (ORCPT ); Mon, 18 May 2020 16:37:58 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0C0064B868; Mon, 18 May 2020 16:37:56 -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=4YcuQ9dehCA9 eFm3VqSoPHRFm8o=; b=wXYwL598kbgF1s/E1XVylHfwfm4tR0xIZZLrh3irq9HV xrWB/Yr/CHRkoWavS/NM/7HyOuGdX7m5BDFERNgjaNkWXKwidlVP/q90U399PwLG MwzKeN2w/lhZOOjXVEpI+Ky0rWLI3egnfuSA8FqI+EaDDPzxAJqZ/M6MfAxXYUs= 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=FUGqr0 UMRGlvZ5TVepBs9Jd8b2GfYIxdFltteqDGH74Gug+aSI+GxACD98mPwQRau+pOM0 wGUCuFXvy4qyMzOtsFcQ0psCDn6P0UJoRZm2I3KL8S0W9uCVVl8ATpW2B49uWXtA 4b4FGiLFFJQiAyQVAgW7VBeO/aX3/+uKTgub4= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 030644B867; Mon, 18 May 2020 16:37:56 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.196.173.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 853F14B865; Mon, 18 May 2020 16:37:55 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: =?utf-8?B?xJBvw6BuIFRy4bqnbiBDw7RuZw==?= Danh Cc: Laurent Arnoud , phillip.wood@dunelm.org.uk, "brian m. carlson" , git@vger.kernel.org Subject: Re: [PATCH v5] diff: add config option relative References: <20200515233130.GC6362@camp.crustytoothpaste.net> <20200516173828.GB34961@spk-laptop> <92cb6302-09a8-6780-9398-890b1e766680@gmail.com> <20200516194033.GA2252@spk-laptop> <20200517021452.GA2114@danh.dev> <20200518094021.GA2069@spk-laptop> <20200518135656.GB1980@danh.dev> <20200518191205.GA1999@danh.dev> Date: Mon, 18 May 2020 13:37:55 -0700 In-Reply-To: <20200518191205.GA1999@danh.dev> (=?utf-8?B?IsSQb8OgbiBUcg==?= =?utf-8?B?4bqnbiBDw7RuZw==?= Danh"'s message of "Tue, 19 May 2020 02:12:05 +0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Pobox-Relay-ID: 73F8C7EA-9947-11EA-AF14-C28CBED8090B-77302942!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org =C4=90o=C3=A0n Tr=E1=BA=A7n C=C3=B4ng Danh writes= : > We don't document --relative for git-format-patch, the --relative > documentation is placed under the guard, for that matter: Yup, since it does not make much sense or "diff.relative" for that matter in the context of the "format-patch". In the same sense, -R makes little sense, so sane people would not want to read about the option in the documentation, I would think. > ifndef::git-format-patch[] > -R:: > Swap two inputs; that is, show differences from index or > on-disk file to tree contents. > > --relative[=3D]:: > When run from a subdirectory of the project, it can be > told to exclude changes outside the directory and show