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

Re: [PATCH] Removed the printf("rm 'file'") from git-rm.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 25, 2007, 21:36 UTC
Message-ID
<Pine.LNX.4.63.0703252335280.4045@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20070325210418.GA29221@code-monkey.de>
Hi,
On Sun, 25 Mar 2007, Tilman Sauerbeck wrote:
Show 15 quoted lines
> Junio C Hamano [2007-03-24 23:22]:
> > Tilman Sauerbeck <tilman@code-monkey.de> writes:
> > 
> > > We used to print that, because you actually had to run the output
> > > of git-rm to get rid of the files before Git 1.5. Now that git-rm
> > > really removes the files, it's not needed anymore.
> > 
> > Even though I admit I do not deeply care, as I never use 'git
> > rm' myself, I do not necessarily agree with "because" part.
> > 
> > I suspect people are by now accustomed to see the assuring
> > feedback from the command when used this way:
> > [snip]
> 
> Too bad, I find it rather annoying and irritating.

Why not do the common thing, and add a "--quiet" option? You can even add a config variable to enable it by default (for git-rm). It's not like git-rm is performance critical...

> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?
Funny!

Ciao, Dscho

Previous: Tilman SauerbeckNext: Eric Lesh
Message 4 of 7 in “Re: [PATCH] Removed the printf("rm 'file'") from git-rm.”
  1. Junio C HamanoMar 25, 2007
  2. Anand KumriaMar 25, 2007
  3. Tilman SauerbeckMar 25, 2007
  4. Johannes SchindelinMar 25, 2007
  5. git-rm: add --quiet option to suppress "rm 'file'" messagesEric Lesh, Mar 26, 2007
  6. Junio C HamanoMar 26, 2007
  7. Martin WaitzMar 26, 2007

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.