threads / patch / 34876

patchdiffcore-break: fix typo in comment

Subject: [PATCH] diffcore-break: fix typo in comment

## tl;dr

One message between Sep 8, 2013 and Sep 8, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ramkumar Ramachandra· Sep 8, 2013, 06:18 UTC · lore
The parameter is called break_score, not minimum_edit.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 diffcore-break.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to diffcore-break.c +1 −1
diff --git a/diffcore-break.c b/diffcore-break.c
index 1d9e530..34dd1e0 100644
--- a/diffcore-break.c
+++ b/diffcore-break.c
@@ -37,7 +37,7 @@ static int should_break(struct diff_filespec *src,
 	 * back together.  The break operation itself happens
 	 * according to the former definition.
 	 *
-	 * The minimum_edit parameter tells us when to break (the
+	 * The break_score parameter tells us when to break (the
 	 * amount of "edit" required for us to consider breaking the
 	 * pair).  We leave the amount of deletion in *merge_score_p
 	 * when we return.
-- 
1.8.4.100.gde18f6d.dirty

← back to recent threads