git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* suggested feature: someone mails me a blob, git please tell me what it is
@ 2007-02-16 16:23 Mike Coleman
  2007-02-16 16:48 ` Nicolas Pitre
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mike Coleman @ 2007-02-16 16:23 UTC (permalink / raw)
  To: git

Here's a suggestion for a git feature, if git doesn't already have it.
 Since git generally doesn't use RCS-style keyword cookies (like
"$Id$"), it'd be nice to have some other way to identify an installed
file.  Perhaps you'd want to know exactly what rev a user is running,
for example.

It seems like it should be fairly easy, given a blob (the file), for
git to describe what it knows about it.  For example, it could provide
a list of commits that it's a part of, etc.  It'd be *really* nice if
only the output of the sha1sum command on the blob were needed.  (I
can't recall exactly how git's blob SHA1's are computed--maybe this
isn't feasible.)

Mike

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

end of thread, other threads:[~2007-02-17 21:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 16:23 suggested feature: someone mails me a blob, git please tell me what it is Mike Coleman
2007-02-16 16:48 ` Nicolas Pitre
2007-02-16 17:14 ` Matthieu Moy
2007-02-16 17:37   ` Linus Torvalds
2007-02-17  6:10 ` Shawn O. Pearce
2007-02-17 21:40   ` Andy Parkins

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 NNTP newsgroup(s).