On Fri, Oct 25, 2013 at 11:37 AM, Jeff King <p...@peff.net> wrote:
> On Thu, Oct 24, 2013 at 12:40:44PM -0700, Junio C Hamano wrote:
>> Jeff King <p...@peff.net> writes:
>> > That would also provide people who do not like the change of default an
>> > escape hatch to keep the current behavior. And I do not think scripted
>> > use will be inconvenienced; they will already have to use "." or ":/" to
>> > be explicit (if they care) since the behavior is changing.
>> There is a big difference between "scripted use will have an escape
>> hatch" and "scripted use will not be inconvenienced".
> I think my communication may have been muddled in transit. What I meant
> regarding inconvenienced was "not any more so than by simply changing
> the behavior in the first place, since scripts already will need to
> start becoming explicit due to the behavior change".
> And for the "escape hatch", I did not mean for scripts. I actually meant
> for users who do not like the extra typing and complain "stupid git, I
> always want '.'; you used to do what I want and now you do not".
Such an escape hatch may be better done as an alias than a config key
(an alias is a config key anyway). I know it won't be easy to "add '.'
if no pathspecs are given", using shell script. But that's something
we could improve, hopefully. An option is we could just export
PATHSPEC_PREFER_* flags via a command line (like --literal-pathspecs).
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html