git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Efficient retrieval of commit log info
@ 2007-12-12 14:36 Eirik Bjørsnøs
  2007-12-12 14:55 ` Johannes Schindelin
  2007-12-12 16:24 ` Linus Torvalds
  0 siblings, 2 replies; 8+ messages in thread
From: Eirik Bjørsnøs @ 2007-12-12 14:36 UTC (permalink / raw)
  To: git

Hi,

I'm developing a piece of software that grabs logs from various types
of SCMs and presents (hopefully) useful information about the history.

My current approach with Git is do a "git clone --n" and then parse
the output of "git log". To check for updates I do a "git pull"
followed by a new "git log".

This approach works fine, but cloning the whole repository just to get
the change log seems like a somewhat inefficient use of bandwidth and
storage.

What I would like to do is to fetch just the change log information
from the remote repository.

(Using the "CVS done right" tool I can do this with: "svn log --xml -v
-r<last, HEAD> http://svn.example.com/")

I haven't found a way to do this using the Git command line tools.

Is it at all possible using the git network protocols to fetch just
the commit log info, without transferring the contents?

I'd be happy to hear from anyone who has some insight into this.

Thanks,

Eirik.

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

end of thread, other threads:[~2007-12-12 16:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 14:36 Efficient retrieval of commit log info Eirik Bjørsnøs
2007-12-12 14:55 ` Johannes Schindelin
2007-12-12 15:04   ` Nicolas Pitre
2007-12-12 15:19     ` Eirik Bjørsnøs
2007-12-12 15:34       ` Jon Smirl
2007-12-12 15:50         ` Eirik Bjørsnøs
2007-12-12 15:34   ` Santi Béjar
2007-12-12 16:24 ` Linus Torvalds

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).