Re: stgit 0.13 import mbox problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 23, 2007 at 09:36:05PM +0100, Catalin Marinas wrote:
> On 23/08/07, Josef Sipek <jsipek@xxxxxxxxxxxxxxxxx> wrote:
> > Yep. Two different projects taking different approaches to storing the
> > patches. I go with the plaintext diff approach ala quilt, while stgit uses
> > git objects to store the data.
> 
> But guilt also generates a commit object when pushing a patch. Or am I wrong?

That's correct. But the git commit/tree/blob objects are a mere cache. For
example, a refresh consists of:

git-update-index ...
git-diff HEAD^ > patchfile
git-reset --hard HEAD^
<internal push patch function - uses git-apply, git-{write,commit}-tree>

Josef 'Jeff' Sipek.

-- 
Research, n.:
  Consider Columbus:
    He didn't know where he was going.
    When he got there he didn't know where he was.
    When he got back he didn't know where he had been.
    And he did it all on someone else's money.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux