Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: QGit: Shrink used memory with custom git log format

From: Marco Costalba <hidden>
Date: 2016-06-15 22:43:54

On Nov 27, 2007 11:48 AM, Johannes Schindelin
[off-list ref] wrote:
quoted
quoted
Indeed there is a git-rev-list --stdin option but with different
behaviour from git-diff-tree --stdin and not suitable for this.
There was a proposed patch for git-cat-file that would let you run
it in a --stdin mode; the git-svn folks wanted this to speed up
fetching raw objects from the repository.  That may help as you
could get commit bodies (in raw format - not reencoded format!)
quite efficiently.
That would be nice.
quoted
Otherwise I think what you really want here is a libgit that you can
link into your process and that can efficiently inflate an object
on demand for you.
I would think libgit is overkilling for this.

You probably would not use libgit to just add a single feature but to
change completely the interface with git because the required work is
heavy both on git side and qgit side (you probably would want to run
the libgit linked part in a separated thread to avoid GUI soft locks
during slow  processing, now, because the executed git command is a
different process from qgit, the OS scheduler takes care of this 'for
free').

Marco
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help