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

Re: how to display file history?

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
May 15, 2006, 17:55 UTC
Message-ID
<20060515175549.GD15165@fieldses.org>
In-Reply-To
<m164k76ylb.fsf@ebiederm.dsl.xmission.com>
On Mon, May 15, 2006 at 10:29:20AM -0600, Eric W. Biederman wrote:
Show 7 quoted lines
> Sure.  If it gets included in a tutorial is great, but existing
> users aren't likely to read through a tutorial if they think they
> know what is going on.
> 
> Having it documented in the man pages (i.e. the reference
> documentation) which is where people look to check up on the fine
> points of a command is more likely to matter.

Looks like the current git-log man page refers you to the git-rev-list page for that, and the use of path names is documented there.

I think that's a pretty reasonable approach for reference documentation, which should be concise. Duplicating the git-rev-list documentation (even some of it) to every man page to which it's relevant would add a lot of text.

The current git-log man page is misleading, though--it suggests that git-log accepts (and git-rev-list documents) only options, which might discourage a reader from tracking down information about non-option arguments.

I also agree about the tutorial--the "Keeping track of history" section would be a good place to introduce this and git-grep with some fun examples. It's on my todo list, but may take a while, so maybe someone else can beat me to it....

--b.
Previous: Linus TorvaldsNext: Jonas Fonseca
Message 7 of 12 in “RE: how to display file history?”
  1. Brown, LenMay 15, 2006
  2. Junio C HamanoMay 15, 2006
  3. Eric W. BiedermanMay 15, 2006
  4. Linus TorvaldsMay 15, 2006
  5. Eric W. BiedermanMay 15, 2006
  6. Linus TorvaldsMay 15, 2006
  7. J. Bruce FieldsMay 15, 2006
  8. Jonas FonsecaMay 21, 2006
  9. Marco CostalbaMay 15, 2006
  10. Linus TorvaldsMay 15, 2006
  11. Marco CostalbaMay 15, 2006
  12. Linus TorvaldsMay 15, 2006

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.