revision: move diff merges functions to its own diff-merges.c
Create separate diff-merges.c and diff-merges.h files, and move all the code related to handling of diff merges there. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
3d4fd94363
commit
a37eec6333
18
diff-merges.h
Normal file
18
diff-merges.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef DIFF_MERGES_H
|
||||
#define DIFF_MERGES_H
|
||||
|
||||
/*
|
||||
* diff-merges - utility module to handle command-line options for
|
||||
* selection of particular diff format of merge commits
|
||||
* representation.
|
||||
*/
|
||||
|
||||
struct rev_info;
|
||||
|
||||
void init_diff_merge_revs(struct rev_info *revs);
|
||||
int parse_diff_merge_opts(struct rev_info *revs, const char **argv);
|
||||
void setup_diff_merges_revs(struct rev_info *revs);
|
||||
void rev_diff_merges_default_to_dense_combined(struct rev_info *revs);
|
||||
void rev_diff_merges_first_parent_defaults_to_enable(struct rev_info *revs);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user