{"thread":{"id":"10987","subject":"how to change/fake the time for next commit ?","startedAt":"2007-11-23T00:29:45Z","lastAt":"2007-11-23T07:20:36Z","messageCount":4,"participants":["Christian MICHON","Johannes Schindelin","Johannes Sixt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"60724","messageId":"46d6db660711221629j5d294a5dp4771778e38b14962@mail.gmail.com","threadId":"10987","inReplyTo":null,"subject":"how to change/fake the time for next commit ?","fromName":"Christian MICHON","fromEmail":"christian.michon@gmail.com","sentAt":"2007-11-23T00:29:45Z","receivedAt":"2007-11-23T00:29:45Z","isPatch":false,"sender":{"key":"christian.michon@gmail.com","avatar":"https://gravatar.com/avatar/8a7c327b21187fbcab5c27640a49450eec72e0355dc292501197f27a5a744ec4?d=mp&s=160"},"body":"Hi Git list,\n\nI'd like to recreate a git repo with kernel version, using exclusively\ntar.bz2 files.\n\nI already did such approach in the past by script, but usually the\ndates of commit are the timestamps of current tar imports. I'd like\nthe date of commit to match any date I would give (without changing\nthe time on my linux system): the date I would give would be (of\ncourse) the date of the released version.\n\nexample: date of 2.6.23.8 release was 2007-11-16 18:16 UTC, so if I\nimport linux-2.6.23.8.tar.bz2 into a dedicated \"2.6.23.8\" branch, I'd\nlike the commit to have \"2007-11-16 18:16 UTC\" as date.\n\nIs there a way to do this, by plumbing or porcelain ?\n\n-- \nChristian\n--\nhttp://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !\n"},{"id":"60725","messageId":"Pine.LNX.4.64.0711230032320.27959@racer.site","threadId":"10987","inReplyTo":"46d6db660711221629j5d294a5dp4771778e38b14962@mail.gmail.com","subject":"Re: how to change/fake the time for next commit ?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-11-23T00:34:36Z","receivedAt":"2007-11-23T00:34:36Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 23 Nov 2007, Christian MICHON wrote:\n\n> I already did such approach in the past by script, but usually the\n> dates of commit are the timestamps of current tar imports.\n\nHave you tried setting the environment variables GIT_COMMITTER_DATE and \nGIT_AUTHOR_DATE before committing?\n\nHth,\nDscho\n"},{"id":"60727","messageId":"46d6db660711221645t652d767fjbe8c5dfc2f93483f@mail.gmail.com","threadId":"10987","inReplyTo":"Pine.LNX.4.64.0711230032320.27959@racer.site","subject":"Re: how to change/fake the time for next commit ?","fromName":"Christian MICHON","fromEmail":"christian.michon@gmail.com","sentAt":"2007-11-23T00:45:01Z","receivedAt":"2007-11-23T00:45:01Z","isPatch":false,"sender":{"key":"christian.michon@gmail.com","avatar":"https://gravatar.com/avatar/8a7c327b21187fbcab5c27640a49450eec72e0355dc292501197f27a5a744ec4?d=mp&s=160"},"body":"On Nov 23, 2007 1:34 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> Have you tried setting the environment variables GIT_COMMITTER_DATE and\n> GIT_AUTHOR_DATE before committing?\n\ncool! yes indeed it helped. ;-)\n\nThanks Dscho!\n\n-- \nChristian\n--\nhttp://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !\n"},{"id":"60736","messageId":"47467F44.80307@viscovery.net","threadId":"10987","inReplyTo":"46d6db660711221629j5d294a5dp4771778e38b14962@mail.gmail.com","subject":"Re: how to change/fake the time for next commit ?","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2007-11-23T07:20:36Z","receivedAt":"2007-11-23T07:20:36Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Christian MICHON schrieb:\n> I'd like to recreate a git repo with kernel version, using exclusively\n> tar.bz2 files.\n\nThere's contrib/fast-import/import-tars.perl.\n\n-- Hannes\n"}]}