On Mon, Jul 8, 2013 at 9:58 AM, Catalin Marinas <[email protected]> wrote:

> On Sun, Jul 07, 2013 at 08:01:54PM +0100, Karl Wiberg wrote:
>
> > (It wouldn't surprise me if all of StGit's metadata could be
> > sanely stored in Git notes, but let's not go there for now unless
> > someone has a lot of free time on their hands...)
>
> I found git notes to be unreliable with git rebase (unless there was
> a bug in my version of Git). Sometimes it keeps them but on many
> occasions they were just lost. Git stores a pair of commit id - note
> id but doesn't always rewrite such pairs properly during rebase.

Ah. Disappointing---but the obvious solution would be to fix the
bug(s) in git, so that it reliably preserves the notes during
rebase. It'd be a huge improvement if certain git operation would no
longer mess up StTgit's metadata.

> If we mix git notes with stg rebase, I guess we could make some
> simple improvements to stgit to rewrite the notes. The only problem
> is that stgit deals with an internal Git implementation detail which
> may change in the future.

Yes, we'd have to look into exactly what's "internal" and what's
supported. But it'd surprise me if the Git people weren't
accommodating to our needs, especially if we were willing to
contribute patches. In general, they *want* to be a good foundation
for tools like StGit.

But once again, refer back to the note about "unless someone has a lot
of time on their hands..."

-- 
Karl Wiberg, [email protected]
   subrabbit.wordpress.com
   www.treskal.com/kalle

_______________________________________________
stgit-users mailing list
[email protected]
https://mail.gna.org/listinfo/stgit-users

Reply via email to