From: Ricardo C <rpc01234@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Phillip Wood <phillip.wood123@gmail.com>, git@vger.kernel.org
Subject: Re: [PATCH] builtin/stash: configs keepIndex, includeUntracked
Date: Mon, 19 Feb 2024 22:59:53 -0500 [thread overview]
Message-ID: <31135b8a-af7a-4d73-b3b3-d91ea8d3d5fd@gmail.com> (raw)
In-Reply-To: <xmqq5xyjx0jc.fsf@gitster.g>
On 2/19/24 22:44, Junio C Hamano wrote:
> Ricardo C <rpc01234@gmail.com> writes:
>
>> This is an issue I hadn't considered, and I'm not sure whether it can
>> even be fixed. In some sense, the entire point of this patch is to
>> allow the user to break that promise in their configuration. However,
>> I'm not sure how big of a problem this is, as it is entirely opt-in
>> (default behavior should be the same as current behavior),
>
> Correct.
>
>> and tools
>> can be altered to pass `--no-keep-index --no-include-untracked` if
>> they wish to force the current behavior.
>
> This is not.
>
> People expect a bit better from Git, and such a callous disregard to
> backward compatibility that breaks other people's tools and scripts
> is a non-starter.
>
> Users of such tools, whether they were written by themselves or
> other people, do *not* want them to break only because they want to
> use a shiny new feature that is advertised in a new version of Git.
>
> The point of packaging a solution, the reason why they wroute such a
> tool or script that happens to use "git stash" as an ingredient and
> depends on the current behaviour of "git stash", is so that they do
> not need to remember they even used "git stash" as a small part of
> their solution. And of course they do not want to remember that
> they rely on how "git stash" behaves in such a solution. They do
> not even want to bother complaining loudly when such a change is
> proposed before it hits a release and hurt them. Saying "nobody
> complained when these configuration variables were proposed" does
> not help anybody later, after we already hurt them.
That makes sense. Do you have any ideas on how to address this? It feels to me
like providing this config option is fundamentally incompatible with requiring
backwards-compatible behavior regardless of configuration.
Ricardo
next prev parent reply other threads:[~2024-02-20 3:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-18 3:30 [PATCH] builtin/stash: configs keepIndex, includeUntracked MithicSpirit
2024-02-18 10:32 ` Phillip Wood
2024-02-18 17:54 ` Ricardo C
2024-02-20 11:01 ` Phillip Wood
2024-02-20 17:47 ` Junio C Hamano
2024-02-21 19:13 ` Ricardo C
2024-02-21 20:09 ` Junio C Hamano
2024-02-21 23:14 ` Ricardo C
2024-02-21 23:53 ` Junio C Hamano
2024-02-20 2:52 ` Junio C Hamano
2024-02-20 3:30 ` Ricardo C
2024-02-20 3:44 ` Junio C Hamano
2024-02-20 3:59 ` Ricardo C [this message]
2024-02-20 19:30 ` Kristoffer Haugsbakk
2024-02-19 8:04 ` Jean-Noël Avila
2024-02-19 21:41 ` Ricardo C
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=31135b8a-af7a-4d73-b3b3-d91ea8d3d5fd@gmail.com \
--to=rpc01234@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=phillip.wood123@gmail.com \
/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).