modify git-completion.bash so git PS1 works correctly
[git/mingw/4msysgit/gitPS1fix.git] / log-tree.h
blob5c4cf7cac3327e2ef6000dff414680cd5c4c0e1e
1 #ifndef LOG_TREE_H
2 #define LOG_TREE_H
4 #include "revision.h"
6 struct log_info {
7 struct commit *commit, *parent;
8 };
10 int parse_decorate_color_config(const char *var, const int ofs, const char *value);
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);
15 void show_log(struct rev_info *opt);
16 void show_decorations(struct rev_info *opt, struct commit *commit);
17 void log_write_email_headers(struct rev_info *opt, struct commit *commit,
18 const char **subject_p,
19 const char **extra_headers_p,
20 int *need_8bit_cte_p);
21 void load_ref_decorations(int flags);
23 #define FORMAT_PATCH_NAME_MAX 64
24 void get_patch_filename(struct commit *commit, int nr, const char *suffix,
25 struct strbuf *buf);
27 #endif