diff options
author | Timo Hirvonen <tihirvon@gmail.com> | 2006-06-25 13:54:14 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-26 14:58:41 -0700 |
commit | 39bc9a6c2051a9fc31dc9b34b40bdd3dd94a8afb (patch) | |
tree | 32a9d02f9dd1403bc65261c5f0ab6425cb53ad5f /log-tree.h | |
parent | 0e677e1a6b0d1c0e848ed19d18dda1c3c797c75e (diff) | |
download | git-39bc9a6c2051a9fc31dc9b34b40bdd3dd94a8afb.tar.gz |
Add msg_sep to diff_options
Add msg_sep variable to struct diff_options. msg_sep is printed after
commit message. Default is "\n", format-patch sets it to "---\n".
This also removes the second argument from show_log() because all
callers derived it from the first argument:
show_log(rev, rev->loginfo, ...
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'log-tree.h')
-rw-r--r-- | log-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.h b/log-tree.h index a26e4841ff..e82b56a20d 100644 --- a/log-tree.h +++ b/log-tree.h @@ -11,6 +11,6 @@ void init_log_tree_opt(struct rev_info *); int log_tree_diff_flush(struct rev_info *); int log_tree_commit(struct rev_info *, struct commit *); int log_tree_opt_parse(struct rev_info *, const char **, int); -void show_log(struct rev_info *opt, struct log_info *log, const char *sep); +void show_log(struct rev_info *opt, const char *sep); #endif |