git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Determine Blob ID from Commit ID and File Path
@ 2009-06-25 19:02 Sigurdson, Dirk
  2009-06-25 19:07 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Sigurdson, Dirk @ 2009-06-25 19:02 UTC (permalink / raw
  To: git@vger.kernel.org

Given a commit id and the path to a file, I¹d like to be able to determine
the blob id for the file.  Is there a git command that would provide this
info?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Determine Blob ID from Commit ID and File Path
  2009-06-25 19:02 Determine Blob ID from Commit ID and File Path Sigurdson, Dirk
@ 2009-06-25 19:07 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2009-06-25 19:07 UTC (permalink / raw
  To: Sigurdson, Dirk; +Cc: git@vger.kernel.org

"Sigurdson, Dirk" <Dirk.Sigurdson@T-Mobile.com> writes:

> Given a commit id and the path to a file, I¹d like to be able to determine
> the blob id for the file.  Is there a git command that would provide this
> info?

"git rev-parse $commit:$path"?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-25 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 19:02 Determine Blob ID from Commit ID and File Path Sigurdson, Dirk
2009-06-25 19:07 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).