diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-11-23 22:30:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-23 22:30:08 -0800 |
commit | e61f25f3a6bb5dcbb5ae5f8b4ad26c308982373c (patch) | |
tree | 2add4512857b856b31b35f2b827975c3d916ff63 /revision.h | |
parent | 2a971012b6be236c46cab7212239d70d92b02715 (diff) | |
parent | d21fc9342cd82bb48bfbf9f54024ae2d4e16a9a3 (diff) | |
download | git-e61f25f3a6bb5dcbb5ae5f8b4ad26c308982373c.tar.gz |
Merge branch 'jc/log-stdin'
* jc/log-stdin:
Add trivial tests for --stdin option to log family
Make --stdin option to "log" family read also pathspecs
setup_revisions(): do not call get_pathspec() too early
Teach --stdin option to "log" family
read_revision_from_stdin(): use strbuf
Conflicts:
revision.c
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/revision.h b/revision.h index 921656aaab..d368003159 100644 --- a/revision.h +++ b/revision.h @@ -84,6 +84,8 @@ struct rev_info { use_terminator:1, missing_newline:1, date_mode_explicit:1; + unsigned int disable_stdin:1; + enum date_mode date_mode; unsigned int abbrev; @@ -129,8 +131,6 @@ struct rev_info { #define REV_TREE_DIFFERENT 3 /* Mixed changes */ /* revision.c */ -void read_revisions_from_stdin(struct rev_info *revs); - typedef void (*show_early_output_fn_t)(struct rev_info *, struct commit_list *); extern volatile show_early_output_fn_t show_early_output; |