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

Re: [PATCH] git-reset: Let -q hush "locally modified" messages

From
Stephan Beyer <s-beyer@gmx.net>
Date
Jul 25, 2008, 21:38 UTC
Message-ID
<20080725213853.GD13539@leksak.fem-net>
In-Reply-To
<7vwsj9r722.fsf@gitster.siamese.dyndns.org>
Hi,
Junio C Hamano wrote:
Show 9 quoted lines
> Stephan Beyer <s-beyer@gmx.net> writes:
> 
> > git reset -q makes reset more quiet, but "locally modified" messages are
> > still shown.  This patch makes them disappear, too.
> 
> Files being "locally modified" is not and error, so I think it is in line
> with the spirit of what -q is meant to do.
> 
> It is an interface change, though.
Yes, as "needs update" -> "locally modified" was.

However, scripts, that rely on filenames when doing -q (whyever), will break.

So should I stick to "git reset -q foo >/dev/null" if I want it quiet, or is there some chance of inclusion?

Regards,
  Stephan
-- 
Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “git-reset: Let -q hush "locally modified" messages”
  1. git-reset: Let -q hush "locally modified" messagesStephan Beyer, Jul 25, 2008
  2. Junio C HamanoJul 25, 2008
  3. Stephan BeyerJul 25, 2008
  4. Junio C HamanoJul 25, 2008
  5. Johannes SchindelinJul 26, 2008

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.