From: Johannes Schindelin Date: Mon, 25 May 2009 07:51:05 GMT Subject: Re: [PATCH 2/2] Change xdl_merge to generate output even for null merges Message-ID: In-Reply-To: <1243210874-18451-3-git-send-email-charles@hashpling.org> Hi, On Mon, 25 May 2009, Charles Bailey wrote: > xdl_merge used to have a check to ensure that there was at least > some change in one or other side being merged but this suppressed > output for the degenerate case when base, local and remote > contents were all identical. > > Removing this check enables correct output in the degenerate case > and xdl_free_script handles freeing NULL scripts so there is no > need to have the check for these calls. > > Signed-off-by: Charles Bailey Maybe mention here that it just so happens that when there were no changes in base->local, it does not matter what changes (_if any_) were made to base->remote, we should output the remote version. Took me more than 2 seconds to find that out, so let's spare the occasional reader this time (2 seconds is my attention span). Your fix is correct. Ciao, Dscho