summaryrefslogtreecommitdiff
path: root/diff-merges.h
diff options
context:
space:
mode:
authorSergey Organov <sorganov@gmail.com>2020-12-21 15:19:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-12-21 21:47:30 (GMT)
commit7acf0d06f54043b3b79d5d388ed1c8fb66e2db5a (patch)
tree62a61608f95832357632e4b6d9bc17776ab4b684 /diff-merges.h
parent18f09473bf8685a1f8db254cff915d4c31e86406 (diff)
downloadgit-7acf0d06f54043b3b79d5d388ed1c8fb66e2db5a.zip
git-7acf0d06f54043b3b79d5d388ed1c8fb66e2db5a.tar.gz
git-7acf0d06f54043b3b79d5d388ed1c8fb66e2db5a.tar.bz2
diff-merges: move checks for first_parent_only out of the module
The checks for first_parent_only don't in fact belong to this module, as the primary purpose of this flag is history traversal limiting, so get it out of this module and rename the diff_merges_first_parent_defaults_to_enable() to diff_merges_default_to_enable() to match new semantics. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-merges.h')
-rw-r--r--diff-merges.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-merges.h b/diff-merges.h
index 4ced909..6937d46 100644
--- a/diff-merges.h
+++ b/diff-merges.h
@@ -17,7 +17,7 @@ void diff_merges_setup_revs(struct rev_info *revs);
void diff_merges_default_to_dense_combined(struct rev_info *revs);
-void diff_merges_first_parent_defaults_to_enable(struct rev_info *revs);
+void diff_merges_default_to_enable(struct rev_info *revs);
#endif