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
This commit is contained in:
Junio C Hamano
2009-11-23 22:30:08 -08:00
8 changed files with 164 additions and 34 deletions

View File

@ -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;