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

Re: [PATCHv4] submodule deinit: require '--all' instead of '.' for all submodules

From
Junio C Hamano <gitster@pobox.com>
Date
May 5, 2016, 18:03 UTC
Message-ID
<xmqqmvo4bcwf.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160504235914.GD395@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
> I mean low level as in implementation detail.  The human user would
> wonder "what is incompatible about them?  Why are you stopping me from
> what I am trying to do?"

Maybe s/incompatible/inconsistent/ is what you are after? Why are you stopping me from what I am trying to do? Because you are asking to do two contradicting things. Do you want to nuke everything, or do you want to keep everything outside what you specified?

After being saved countless times from a stupid mistake
    $ git commit -a -s foo.c

that was caused by habitually typing "-a", when I do want to limit the changes to record to a specific path (or two) with similar safety, I do not think "what is incompatible about them" is a valid question.

    
Previous: Jonathan NiederNext: Jonathan Nieder
Message 6 of 11 in “[PATCHv4] submodule deinit: require '--all' instead of '.' for all submodules”
  1. Stefan BellerMay 4, 2016
  2. Junio C HamanoMay 4, 2016
  3. Jonathan NiederMay 4, 2016
  4. Stefan BellerMay 4, 2016
  5. Jonathan NiederMay 4, 2016
  6. Junio C HamanoMay 5, 2016
  7. Jonathan NiederMay 5, 2016
  8. Stefan BellerMay 5, 2016
  9. Stefan BellerMay 5, 2016
  10. Junio C HamanoMay 5, 2016
  11. Stefan BellerMay 5, 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.