Re: blameview and file contents

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Tuesday, January 30, 2007 - 12:29 am

Aneesh Kumar <aneesh.kumar@gmail.com> wrote:

Well, this isn't the git-cat-file man page, but we do suggest people
use `git show HEAD:foo.c` to get foo.c from HEAD in an interactive
setting.  The git-show manpage refers people to git-rev-parse,
which has the following:

	* A suffix ':' followed by a path; this names the blob or tree
	  at the given path in the tree-ish object named by the part
	  before the colon.

In a non-interactive case, well, that's what git-cat-file is for.
And <object> typically is meant to mean what git-rev-parse will
parse... 

But if you submit a documentation update to git-cat-file's manpage
that points off to the same section of git-rev-parse, folks may
appreciate it.  :-)

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
blameview and file contents, Aneesh Kumar, (Mon Jan 29, 11:46 pm)
Re: blameview and file contents, Shawn O. Pearce, (Mon Jan 29, 11:54 pm)
Re: blameview and file contents, Aneesh Kumar, (Tue Jan 30, 12:22 am)
Re: blameview and file contents, Shawn O. Pearce, (Tue Jan 30, 12:29 am)
Re: blameview and file contents, Junio C Hamano, (Tue Jan 30, 1:30 am)