Skip to content
Newer
Older
100644 28 lines (22 sloc) 888 Bytes
5f1c3f0 log-tree: separate major part of diff-tree.
Junio C Hamano authored
1 #ifndef LOG_TREE_H
2 #define LOG_TREE_H
3
cd2bdc5 Common option parsing for "git log --diff" and friends
Linus Torvalds authored
4 #include "revision.h"
5f1c3f0 log-tree: separate major part of diff-tree.
Junio C Hamano authored
5
9153983 Log message printout cleanups
Linus Torvalds authored
6 struct log_info {
7 struct commit *commit, *parent;
8 };
9
5e11bee @nazri Allow customizable commit decorations colors
nazri authored
10 int parse_decorate_color_config(const char *var, const int ofs, const char *value);
cd2bdc5 Common option parsing for "git log --diff" and friends
Linus Torvalds authored
11 void init_log_tree_opt(struct rev_info *);
12 int log_tree_diff_flush(struct rev_info *);
13 int log_tree_commit(struct rev_info *, struct commit *);
14 int log_tree_opt_parse(struct rev_info *, const char **, int);
0286565 @simpkins Remove dead code: show_log() sep argument and diff_options.msg_sep
simpkins authored
15 void show_log(struct rev_info *opt);
0f3a290 @torvalds Add a 'source' decorator for commits
torvalds authored
16 void show_decorations(struct rev_info *opt, struct commit *commit);
108dab2 @bebarino format-patch: --attach/inline uses filename instead of SHA1
bebarino authored
17 void log_write_email_headers(struct rev_info *opt, struct commit *commit,
267123b @gitster Merge branch 'maint'
gitster authored
18 const char **subject_p,
19 const char **extra_headers_p,
20 int *need_8bit_cte_p);
33e7018 @hjemli git-log: allow --decorate[=short|full]
hjemli authored
21 void load_ref_decorations(int flags);
5f1c3f0 log-tree: separate major part of diff-tree.
Junio C Hamano authored
22
6fa8e62 @bebarino format-patch: move get_patch_filename() into log-tree
bebarino authored
23 #define FORMAT_PATCH_NAME_MAX 64
a21c2f9 @peff format-patch: refactor get_patch_filename
peff authored
24 void get_patch_filename(struct commit *commit, const char *subject, int nr,
25 const char *suffix, struct strbuf *buf);
6fa8e62 @bebarino format-patch: move get_patch_filename() into log-tree
bebarino authored
26
5f1c3f0 log-tree: separate major part of diff-tree.
Junio C Hamano authored
27 #endif
Something went wrong with that request. Please try again.