Problems importing git-cur into git

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

 



Hello,

I tried to apply Russell King's git-cur[1] to my linux-2.6 repo.  The
problem I was faced there is that git-am isn't able to parse the date in
the "From " lines.

arm.mbox uses e.g.

	From rmk Sun Feb 25 22:32:59 GMT 2007

while git-am (or more exactly git-mailsplit) expects to find the year
directly after the time.

The output of date specifies the timezone between time and year, too.

The next problem is that once more that my 'ö' is not correctly taken in
the commit.  I didn't debug that yet, but probably inserting a
Content-Type header helps here?

I'll debug that further, but at the moment I don't have the time.  Just
send out my current status, maybe someone else wants to look after that
issue.

Attached is the current script to reproduce it.

Best regards
Uwe

[1] ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm.mbox

-- 
Uwe Kleine-König

http://www.google.com/search?q=gigabyte+in+bit
#! /bin/sh

MBOX="ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm.mbox";;
DIFF="ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/arm.diff";;

LINUX_GIT="${HOME}/gsrc/linux-2.6";

tempfile=$(mktemp)
trap 'rm -f "${tempfile}"' INT QUIT TERM EXIT 

# Fix Date format for git-mailsplit that assumes that the year directly follows
# the time ...
wget -O - "${MBOX}" | sed "s/^\\(From .*:[0-9][0-9]\) GMT/\\1/" > "${tempfile}"

cd "${LINUX_GIT}";
git am "${tempfile}";

echo "${tempfile}";



[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]