git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] pathspec: prevent empty strings as pathspecs

From
Emily Xie <emilyxxie@gmail.com>
Date
Jun 19, 2016, 20:32 UTC
Message-ID
<CAAin2AQjEUdE4Di1FJPHOFmwWEJX8-zCq_fRHiF=9RZ5S28XsQ@mail.gmail.com>
In-Reply-To
<xmqq60t5ya55.fsf@gitster.mtv.corp.google.com>
Thanks for the quick responses on this patch!
In response to Junio:
Show 6 quoted lines
> "At least you would need two-step process to introduce a change like
> this to warn the people whose tools and workflows you are breaking.
> That is, (1) in one release, you add code to only detect the case
> you will be changing the behaviour in a later version and give
> warning messages, and (2) in another release that is several release
> cycles later, stop warning and actually change the behaviour....
> I do not mind a two-step breaking of compatibility to address this
> issue; I would also understand if the author thinks it is not worth
> the hassle to do so.  The sudden behaviour change with this patch
> alone is however not acceptable, I would think."

I understand your hesitance with the original method. If the agreed solution is a two-step implementation, I think it would definitely be worth my time and hassle----in part because I'm particularly excited about the prospect of contributing to Git, but mostly because I do believe that it would be a good improvement.

Given this, I'll edit the patch and re-submit to only emit warning messages for now.

- Emily
Previous: Junio C Hamano
Message 7 of 7 in “pathspec: prevent empty strings as pathspecs”
  1. pathspec: prevent empty strings as pathspecsEmily Xie, Jun 19, 2016
  2. David TurnerJun 19, 2016
  3. Eric SunshineJun 19, 2016
  4. Junio C HamanoJun 19, 2016
  5. David TurnerJun 19, 2016
  6. Junio C HamanoJun 19, 2016
  7. Emily XieJun 19, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.