{"thread":{"id":"6972","subject":"Problems importing git-cur into git","startedAt":"2007-02-26T14:11:25Z","lastAt":"2007-02-26T14:11:25Z","messageCount":1,"participants":["Uwe Kleine-König"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"35502","messageId":"20070226141125.GA12506@informatik.uni-freiburg.de","threadId":"6972","inReplyTo":null,"subject":"Problems importing git-cur into git","fromName":"Uwe Kleine-König","fromEmail":"ukleinek@informatik.uni-freiburg.de","sentAt":"2007-02-26T14:11:25Z","receivedAt":"2007-02-26T14:11:25Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hello,\n\nI tried to apply Russell King's git-cur[1] to my linux-2.6 repo.  The\nproblem I was faced there is that git-am isn't able to parse the date in\nthe \"From \" lines.\n\narm.mbox uses e.g.\n\n\tFrom rmk Sun Feb 25 22:32:59 GMT 2007\n\nwhile git-am (or more exactly git-mailsplit) expects to find the year\ndirectly after the time.\n\nThe output of date specifies the timezone between time and year, too.\n\nThe next problem is that once more that my 'ö' is not correctly taken in\nthe commit.  I didn't debug that yet, but probably inserting a\nContent-Type header helps here?\n\nI'll debug that further, but at the moment I don't have the time.  Just\nsend out my current status, maybe someone else wants to look after that\nissue.\n\nAttached is the current script to reproduce it.\n\nBest regards\nUwe\n\n[1] ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm.mbox\n\n-- \nUwe Kleine-König\n\nhttp://www.google.com/search?q=gigabyte+in+bit\n\n\n#! /bin/sh\n\nMBOX=\"ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm.mbox\";\nDIFF=\"ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm.diff\";\n\nLINUX_GIT=\"${HOME}/gsrc/linux-2.6\";\n\ntempfile=$(mktemp)\ntrap 'rm -f \"${tempfile}\"' INT QUIT TERM EXIT \n\n# Fix Date format for git-mailsplit that assumes that the year directly follows\n# the time ...\nwget -O - \"${MBOX}\" | sed \"s/^\\\\(From .*:[0-9][0-9]\\) GMT/\\\\1/\" > \"${tempfile}\"\n\ncd \"${LINUX_GIT}\";\ngit am \"${tempfile}\";\n\necho \"${tempfile}\";\n\n\n"}]}