git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org, ZheNing Hu <adlternative@gmail.com>
Subject: Re: [PATCH] diff: --{rotate,skip}-to=<path>
Date: Fri, 12 Feb 2021 09:54:40 -0800	[thread overview]
Message-ID: <xmqq35y1w4rj.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <nycvar.QRO.7.76.6.2102121713390.29765@tvgsbejvaqbjf.bet> (Johannes Schindelin's message of "Fri, 12 Feb 2021 17:15:09 +0100 (CET)")

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> This is more a drive-by comment, as I have no stake in this, but don't we
> already have a more generic solution via `-O<orderfile>`? See
> https://git-scm.com/docs/git-diff#Documentation/git-diff.txt--Oltorderfilegt
> for details.

The use cases are quite different.  This one is meant for a
single-shot use, while orderfile is a more permanent thing.

See https://lore.kernel.org/git/xmqqeehp2jis.fsf@gitster.c.googlers.com/
and start reading from "I suspect that" for background story.

      reply	other threads:[~2021-02-12 17:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11 21:32 [PATCH] diff: --{rotate,skip}-to=<path> Junio C Hamano
2021-02-12 16:15 ` Johannes Schindelin
2021-02-12 17:54   ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq35y1w4rj.fsf@gitster.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=adlternative@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).