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

Re: Query about documentation of git pull -n

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 24, 2008, 11:01 UTC
Message-ID
<alpine.LSU.1.00.0801241058330.5731@racer.site>
In-Reply-To
<72481CA3A5A6474EA49CFD2CF28A5D5D02CA348A@hektor.iplbath.com>
Hi,
On Thu, 24 Jan 2008, Anthony Bolton wrote:
Show 5 quoted lines
> Comment from a new user:
>  The git-pull man pages imply that "git pull -n" and "git pull 
> --no-tags" are the same, but -n seems to do something different entirely 
> (same with git fetch). I found this in msysgit but the msysgit boys say 
> that it's actually a problem with core git.

FWIW I am that msysgit boy. And I did not say anything about git-fetch, but only about git-pull. I even said that "-n" means "--no-summary" to git-pull.

> If -n is intended to be different from --no-tags than can you update the 
> documentation please?

That is such a low-hanging fruit. Since you apparently use git yourself, there is not much left to learn in order to fix this bug. IOW this is a perfect occasion to get just a little involved in the git development.

Just look at Documentation/diff-options.txt for an example how to use the "ifdef::" construct, and then use that construct in Documentation/fetch-options.txt.

Hth, Dscho

Previous: Anthony BoltonNext: Miklos Vajna
Message 2 of 8 in “Query about documentation of git pull -n”
  1. Anthony BoltonJan 24, 2008
  2. Johannes SchindelinJan 24, 2008
  3. git pull manpage: don't include -n from fetch-options.txtMiklos Vajna, Jan 24, 2008
  4. Johannes SchindelinJan 24, 2008
  5. Junio C HamanoJan 25, 2008
  6. git pull manpage: don't include -n from fetch-options.txtMiklos Vajna, Jan 25, 2008
  7. git pull manpage: don't include -n from fetch-options.txtJohannes Schindelin, Jan 25, 2008
  8. Miklos VajnaJan 25, 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.