Package: git-core
Version: 1:1.5.3.4-1
Severity: normal

I don't know if this is a general problem with maildirs, or only
maildirs created by mutt. ~/patches/ is a maildir I created from mutt by
saving a patch mail there.

[EMAIL PROTECTED]:~/src/foo>git-am ~/patch                 
Nothing to do.
[EMAIL PROTECTED]:~/src/foo>git-am ~/patch/new/1192901680.7144_1.kodama:2,R 

Applying Add support for mercurial
....

According the the man page, it's supposed to support maildirs, so I
shouldn't have to point it at the message inside the maildir to get it
to do something.

Hmm, based on running git-am set -x, it seems that the real problem
is probably git-mailsplit:

[EMAIL PROTECTED]:~/src/foo>git mailsplit -d4 -o.dotest -b -- /home/joey/patch/
0

Stracing git-mailsplit, I see it look inside the maildir and somehow
not find the message:

stat64("/home/joey/patch/", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/home/joey/patch//cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
brk(0)                                  = 0x8115000
brk(0x8137000)                          = 0x8137000
getdents64(5, /* 2 entries */, 4096)    = 48
getdents64(5, /* 0 entries */, 4096)    = 0
brk(0x8136000)                          = 0x8136000
close(5)                                = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fd6000
write(1, "0\n", 20

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-core depends on:
ii  cpio                    2.9-4            GNU cpio -- a program to manage ar
ii  libc6                   2.6.1-5          GNU C Library: Shared libraries
ii  libcurl3-gnutls         7.17.0-1         Multi-protocol file transfer libra
ii  libdigest-sha1-perl     2.11-2           NIST SHA-1 message digest algorith
ii  liberror-perl           0.15-8           Perl module for error/exception ha
ii  libexpat1               1.95.8-4         XML parsing C library - runtime li
ii  perl-modules            5.8.8-11         Core Perl modules
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

Versions of packages git-core recommends:
ii  curl                         7.17.0-1    Get a file from an HTTP, HTTPS or 
ii  git-doc                      1:1.5.3.4-1 fast, scalable, distributed revisi
ii  less                         408-2       Pager program similar to more
ii  openssh-client [ssh-client]  1:4.6p1-5   secure shell client, an rlogin/rsh
ii  patch                        2.5.9-4     Apply a diff file to an original
ii  rsync                        2.6.9-5     fast remote file copy program (lik

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to