Re: [PATCH 9/9] revert: simplify communicating command-line arguments
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Dec 9, 2011, 19:49 UTC
- Message-ID
- <CALkWK0m2veE8FmFVTPEqNAmbtvm1sWVHtFt0QOWU=huQFafeBw@mail.gmail.com>
- In-Reply-To
- <20111209192919.GB20913@elie.hsd1.il.comcast.net>
Hi again,
Jonathan Nieder wrote:
> Ramkumar Ramachandra wrote: > [...] > > So, is it a bad test?
I'll just drop this test.
>> Way starts with creating an API for "git commit". > > Not sure what this means.
It certainly doesn't make any sense when you quote it like that. What I meant is that: by convention, 'git cherry-pick' is supposed to exit with positive status on conflict. Conversely, this means that a positive exit status can be interpreted as a conflict, but this is clearly not the case here. How do we fix this problem? By creating an API for "git commit", not by shelling out like this and letting it take over the exit status.
-- Ram