2009/11/24 René Köcher:
>
> Pleas, both of you -- stop reinventing the wheel!
>
> Git has two tools working hand in hand to just do what is needed:
>
> #1 is git format-patch which will transform a series of commits into 
> mailbox-formated
>  messages containing the specified commit as a patch
> #2 is git am which will import (re-apply) the patches in a given directory in 
> order.

This is exactly what I was referring to in my email and what has
already been done [1].

> git am has a switch to explicitly *not* use the original commit date:
>
>       --ignore-date
>           By default the command records the date from the e-mail message as 
> the commit author date, and uses the time of commit creation as the committer 
> date.
>           This allows the user to lie about the author date by using the same 
> value as the committer date.
>
> Which basically means - you can convert the whole vim_mac repo into patches 
> (one per commit).
> Put them into a directory and then apply them to another repository using git 
> am.

Aha!  But here is a switch I did not know about!  Thanks for pointing
it out.  I'll look into this when I get the time.  But...this is not
something I enjoy doing so it will take a while before I get around to
fiddling around with this.  (And I know that there are multiple
conflicts due to the fact that I merge the latest runtime updates into
the "vim" branch in MacVim.git.)

Another problem is that Markus explicitly points out that he'll
rewrite the entire vim_mainline repository at some point in the future
[2] and I'm not sure what kind of problems this would cause me.

Björn


[1] http://repo.or.cz/w/MacVim_ext.git
[2] http://repo.or.cz/w/vim_mainline.git

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to