Re: [PATCH 8/8] diff --submodule: split into bite-sized pieces
flat view
From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:50:47
Jens Lehmann wrote:
Am 16.03.2011 08:14, schrieb Jonathan Nieder:
quoted
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"]
quoted
* 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]
quoted
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.