Merge branch 'jc/diff-stat'

* jc/diff-stat:
  diff --stat: ensure at least one '-' for deletions, and one '+' for additions
  diff --stat=width[,name-width]: allow custom diffstat output width.
  diff --stat: color output.
  diff --stat: allow custom diffstat output width.
This commit is contained in:
Junio C Hamano
2006-09-30 21:29:18 -07:00
3 changed files with 133 additions and 43 deletions

3
diff.h
View File

@ -69,6 +69,9 @@ struct diff_options {
const char *stat_sep;
long xdl_opts;
int stat_width;
int stat_name_width;
int nr_paths;
const char **paths;
int *pathlens;