git-am applies half of a patch
- From
- Jeff Garzik <jeff@garzik.org>
- Date
- Jan 9, 2007, 10:24 UTC
- Message-ID
- <45A36D6B.4010303@garzik.org>
I ran
git-am --signoff --utf8 /g/tmp/mbox
on the attached file, to apply a patch to libata-dev.git#upstream, and it wound up only applying a portion of the patch:
Show 8 quoted lines
> [jgarzik@pretzel libata-dev]$ git-am --signoff --utf8 /g/tmp/mbox > > Applying 'Add pci class code for SATA AHCI' > > error: patch fragment without header at line 35: @@ -862,7 +862,7 @@ > error: patch fragment without header at line 50: @@ -15,6 +15,8 @@ > Wrote tree 5d6f3a93bea932c950ac880deca173dd3e84dfcc > Committed: 317b180bad43133027dc07455f1600f4e8a47d76
It seems quite bad to apply a patch that git-am KNOWS is incomplete.
Jeff