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

Re: Why does 'submodule add' stage the relevant portions?

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Mar 25, 2013, 18:27 UTC
Message-ID
<CALkWK0kx_uQy-97nByNXBOU4UruhvdjOeXCpKHR9mNUQHs5o=A@mail.gmail.com>
In-Reply-To
<20130325182023.GA1414@google.com>
Jonathan Nieder wrote:
Show 22 quoted lines
> Ramkumar Ramachandra wrote:
>> Junio C Hamano wrote:
>>> Ramkumar Ramachandra <artagnon@gmail.com> writes:
>
>>>> Git 2.0 is coming soon, so I'm excited about breaking a lot of
>>>> backward compatibility ;)
>>>
>>> Don't.
>>
>> push.default is the necessary exception?
>
> A while ago there was a discussion of changes of the "If we were
> starting over today, it would be obvious we should have made it work
> the other way" kind and potential transition plans for them leading up
> to 2.0.  It's way too late to throw new breakage in.
>
> More generally, it doesn't make a lot of sense to save thinking about
> such questions for the last minute before a new major release.  If an
> important change will require breaking compatibility and can only be
> done using a painful 5-year transition, start today (and send patches
> to the ML when an appropriate quiet moment comes to get review) so the
> 5-year counter can start ticking.

I agree that big important changes that break backward compatibility (like adding generation numbers to commit objects) will require this kind of time and effort to stabilize. Does a saner push.default value, or even tweaking the output of 'git status' to show what 'git status -sb' shows now (git status is porcelain, and no person in the right mind will write a script to parse it), require this? I'm talking about slightly better defaults at the porcelain level, at most.

Previous: Jonathan NiederNext: Junio C Hamano
Message 12 of 18 in “Why does 'submodule add' stage the relevant portions?”
  1. Ramkumar RamachandraMar 24, 2013
  2. Jens LehmannMar 25, 2013
  3. Ramkumar RamachandraMar 25, 2013
  4. Jens LehmannMar 25, 2013
  5. Ramkumar RamachandraMar 25, 2013
  6. Jens LehmannMar 25, 2013
  7. Ramkumar RamachandraMar 26, 2013
  8. Jens LehmannMar 26, 2013
  9. Junio C HamanoMar 25, 2013
  10. Ramkumar RamachandraMar 25, 2013
  11. Jonathan NiederMar 25, 2013
  12. Ramkumar RamachandraMar 25, 2013
  13. Junio C HamanoMar 25, 2013
  14. Ramkumar RamachandraMar 25, 2013
  15. Jonathan NiederMar 25, 2013
  16. Ramkumar RamachandraMar 25, 2013
  17. Jonathan NiederMar 25, 2013
  18. Duy NguyenMar 26, 2013

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.