On Tue, Aug 2, 2016 at 9:07 PM, Thierry Goubier <thierry.goub...@gmail.com>
wrote:

> Le 02/08/2016 à 13:23, Peter Uhnak a écrit :
>
>> On Tue, Aug 02, 2016 at 01:04:10PM +0200, Nicolas Passerini wrote:
>>
>>> There is this script from Peter Uhnak
>>>
>>> https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository
>>>
>>> but it will not be able to preserve commit date.
>>>
>>
>> At the time of the (post) writing it did preserve commit dates, but there
>> was no metadata-less yet.
>>
>> In any case, I don't see a reason why it shouldn't preserve commit dates
>> with metadata-less — it goes mcz by mcz and recommits it with given date,
>> no?
>>
>
> No it doesn't set the commit date. I'm not even sure git would allow you
> to set commit dates in the past, but I may be wrong (this is probably what
> git-cvs does).
>

git doesn't prohibit modification of history in any way, so you can do
whatever you want.

In fact this is how gitfiletree DID behave when I was moving last year, but
I don't know whether this particular change was removed, or never
integrated (i.e. just my local change).
I did make mention of date when I was moving to Git
http://forum.world.st/moving-to-git-and-preserving-monticello-history-td4806386.html#a4806611

Peter

Reply via email to