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

Re: Silent maintenance

From
VVValeo de Vries <valeo@valeo.co.cc>
Date
Aug 14, 2010, 16:33 UTC
Message-ID
<AANLkTimZ4df7wVXSGdNm+vWgAuPVDcUupxEvn9FByx=P@mail.gmail.com>
In-Reply-To
<20100814131156.GA24769@nibiru.local>
On 14 August 2010 14:11, Enrico Weigelt <weigelt@metux.de> wrote:
> Hi,
>
> are there some flags to make the maintenance commands like
> git-repack and git-gc silent, so they only output errors ?
Just redirect stdout to /dev/null and check git's return status, as Ævar said.
Valeo
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 9 in “Silent maintenance”
  1. Enrico WeigeltAug 14, 2010
  2. Ævar Arnfjörð BjarmasonAug 14, 2010
  3. Valeo de VriesAug 14, 2010
  4. Ævar Arnfjörð BjarmasonAug 14, 2010
  5. Jonathan NiederAug 14, 2010
  6. Ævar Arnfjörð BjarmasonAug 14, 2010
  7. Jeff KingAug 14, 2010
  8. Ævar Arnfjörð BjarmasonAug 15, 2010
  9. Enrico WeigeltAug 15, 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.