diff options
author | John Keeping <john@keeping.me.uk> | 2013-04-05 17:12:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-05 11:28:10 -0700 |
commit | 0f33a0677d6d93b3f6d8fb7d1df62f30eb7b73a9 (patch) | |
tree | 62593a3c55617523be0ad8a1d5eb319dc09ff7b8 /submodule.h | |
parent | bfd70c53b38f03a4e788fb84518c09f67b7514c2 (diff) | |
download | git-0f33a0677d6d93b3f6d8fb7d1df62f30eb7b73a9.tar.gz |
submodule: print graph output next to submodule log
When running "git log -p --submodule=log", the submodule log is not
indented by the graph output, although all other lines are. Fix this by
prepending the current line prefix to each line of the submodule log.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r-- | submodule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule.h b/submodule.h index 3dc1b3fe89..c7ffc7c399 100644 --- a/submodule.h +++ b/submodule.h @@ -19,6 +19,7 @@ int parse_submodule_config_option(const char *var, const char *value); void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *); int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg); void show_submodule_summary(FILE *f, const char *path, + const char *line_prefix, unsigned char one[20], unsigned char two[20], unsigned dirty_submodule, const char *meta, const char *del, const char *add, const char *reset); |