Re: [PATCH 8/8] diff --submodule: split into bite-sized pieces
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Mar 16, 2011, 19:33 UTC
- Message-ID
- <20110316193350.GA8179@elie>
- In-Reply-To
- <4D8104DC.2010700@web.de>
Jens Lehmann wrote:
> Am 16.03.2011 08:14, schrieb Jonathan Nieder:
Show 7 quoted lines
>> Introduce two functions:
>>
>> - prepare_submodule_summary prepares the revision walker
>> to list changes in a submodule. That is, it:
>>
>> * finds merge bases between the commits pointed to this
>> path from before ("left") and after ("right") the change;pointed to at this path before [missing "at", spurious "from"]
Show 8 quoted lines
>> * checks whether this is a fast-forward or fast-backward; >> * prepares a revision walk to list commits in the symmetric >> difference between the commits at each endpoint. >> >> It returns nonzero on error. >> >> - print_submodule_summary runs the revision walk and saves >> the result to a strbuf in --left-right format.
runs the revision walk and prints the result in --left-right format [the strbuf is an implementation detail; not sure how it snuck into the commit message]
>> The goal is just readability. No functional change intended. > > Ack, looks good and makes sense to me.
Thanks, Jens. Looking back over the commit message I see I left in some typos but the patch still looks good to me fwiw.