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

Re: [PATCH/RFC] Documentation/git-gc.txt: add reference to githooks

From
Chris Packham <judge.packham@gmail.com>
Date
Jun 29, 2010, 18:16 UTC
Message-ID
<4C2A3889.90407@gmail.com>
In-Reply-To
<7vfx05by9t.fsf@alter.siamese.dyndns.org>
On 29/06/10 09:26, Junio C Hamano wrote:
Show 14 quoted lines
> Chris Packham <judge.packham@gmail.com> writes:
>   
>> +HOOKS
>> +-----
>> +This command can run `pre-auto-gc` hook.  See linkgit:githooks[5] for more
>> +information.
>>     
> Hmm.  "git gc --auto" does, but "git gc" doesn't, and saying "can run"
> only adds to the sense of incompleteness of the description here without
> giving useful information to the reader (iow, the user will have to check
> the referred-to page anyway).  We would need to either remove the first
> sentence (leaving only "See ... for information") or clarify the first
> sentence a bit better, I think.
>   
How about

The `git gc --auto` command will run the `pre-auto-gc` hook, if enabled. See linkgit:githooks[5] for more information.

Previous: Junio C HamanoNext: Chris Packham
Message 14 of 21 in “notify alternative to auto gc?”
  1. Karl StenerudJun 28, 2010
  2. Ævar Arnfjörð BjarmasonJun 28, 2010
  3. Karl StenerudJun 28, 2010
  4. Matthieu MoyJun 29, 2010
  5. Sam VilainJun 30, 2010
  6. Matthieu MoyJun 28, 2010
  7. Chris PackhamJun 28, 2010
  8. Karl StenerudJun 28, 2010
  9. Documentation/git-gc.txt: add reference to githooksChris Packham, Jun 28, 2010
  10. Marc BranchaudJun 28, 2010
  11. Junio C HamanoJun 29, 2010
  12. Chris PackhamJun 29, 2010
  13. Junio C HamanoJun 29, 2010
  14. Chris PackhamJun 29, 2010
  15. [PATCHv2] Documentation/git-gc.txt: add reference to githooksChris Packham, Jun 30, 2010
  16. David BrownSep 21, 2010
  17. Chris PackhamSep 21, 2010
  18. David BrownSep 21, 2010
  19. Re* [PATCH/RFC] Documentation/git-gc.txt: add reference to githooksJunio C Hamano, Sep 21, 2010
  20. Eric RaibleJun 28, 2010
  21. Jacob HelwigJun 28, 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.