git format-patch shell quoting bug
- From
Kyle McMartin <kyle@mcmartin.ca>
- Date
- Jan 4, 2006, 04:55 UTC
- Message-ID
- <20060104045519.GB29515@quicksilver.road.mcmartin.ca>
Hi,
There's apparently a quoting bug in git-format-patch. When I import a patch with apply-mbox, for example
From: Carlos O'Donell <carlos@parisc-linux.org>
The author field is correctly set, including the "'" in Carlos' name.
So when I go to rebase my tree, or send out patches, I "git-format-patch origin" and get...
/usr/bin/git-format-patch: eval: line 200: unexpected EOF while looking for matching `'' /usr/bin/git-format-patch: eval: line 201: syntax error: unexpected end of file
Which produces a bogus output patch with a blank From and Date,
Subject: [PATCH] ... From: Date:
[...]
I believe this recently crept in, as I don't recall seeing it before.
Cheers, Kyle