git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Karl Hasselström" <kha@treskal.com>
Cc: git@vger.kernel.org
Subject: Re: [StGit PATCH 2/2] Write to a stack log when stack is modified
Date: Wed, 20 Feb 2008 22:46:48 +0000	[thread overview]
Message-ID: <b0943d9e0802201446g2840c3d9v576f840936253525@mail.gmail.com> (raw)
In-Reply-To: <20080214012912.22365.83207.stgit@yoghurt>

On 14/02/2008, Karl Hasselström <kha@treskal.com> wrote:
> Create a log branch (called <branchname>.stgit) for each StGit branch,
>  and write to it whenever the stack is modified.

The abstractions are really nice (and I still wonder how StGIT
codebase increased that much when all I needed two years ago was a
simple script-like application to reorder commits :-)).

Anyway, I don't really like the idea of an additional commit (I don't
even like the old patch log implementation) when the stack is
modified. It needs some profiling but it has a visible impact on
stacks with a big number of patches (my last kernel release at
www.linux-arm.org/git had 80 patches and it takes a lot of time to
push them).

Can we not use some of the automatic reflog recording that GIT does
instead of writing a commit? It's cheaper to write a text file than
generating a commit. In my kernel repository I have several branches
with many patches and, even after "git gc" and repacking, it is still
slow (mainly because of git-read-tree but I'd like to reduce the
number of calls to GIT).

-- 
Catalin

  reply	other threads:[~2008-02-20 22:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14  1:25 [StGit PATCH 0/2] Patch stack logging Karl Hasselström
2008-02-14  1:29 ` [StGit PATCH 1/2] Library functions for tree and blob manipulation Karl Hasselström
2008-02-14  1:32 ` [StGit PATCH 2/2] Write to a stack log when stack is modified Karl Hasselström
2008-02-20 22:46   ` Catalin Marinas [this message]
2008-02-21  7:18     ` Karl Hasselström
2008-02-22 14:05       ` Catalin Marinas
2008-02-22 14:56         ` Karl Hasselström
2008-02-22 15:58           ` Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0943d9e0802201446g2840c3d9v576f840936253525@mail.gmail.com \
    --to=catalin.marinas@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kha@treskal.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).