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

Re: [PATCH] read-tree: deprecate syntax without tree-ish args

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Sep 10, 2010, 13:53 UTC
Message-ID
<AANLkTimiT7eV2XHMEjbp6cOqTTQ6OH8vrbMoDCLxneJC@mail.gmail.com>
In-Reply-To
<20100910152859.778636d4@jk.gs>
Heya,
On Fri, Sep 10, 2010 at 08:28, Jan Krüger <jk@jk.gs> wrote:
> Currently, read-tree can be run without tree-ish arguments, in which
> case it will empty the index. Since this behavior is undocumented and
> perhaps a bit too invasive to be the "default" action for read-tree,
> deprecate it in favor of a new --empty option that does the same thing.
FWIW, I still like it.
-- 
Cheers,

Sverre Rabbelier
Previous: Jan KrügerNext: Junio C Hamano
Message 4 of 5 in “read-tree: abort if no trees are given”
  1. read-tree: abort if no trees are givenJan Krüger, Sep 10, 2010
  2. Johannes SixtSep 10, 2010
  3. read-tree: deprecate syntax without tree-ish argsJan Krüger, Sep 10, 2010
  4. Sverre RabbelierSep 10, 2010
  5. Junio C HamanoSep 10, 2010

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.