Merge branch 'jk/test'
* jk/test: enable whitespace checking of test scripts avoid trailing whitespace in zero-change diffstat lines avoid whitespace on empty line in automatic usage message mask necessary whitespace policy violations in test scripts fix whitespace violations in test scripts
This commit is contained in:
3
diff.c
3
diff.c
@ -928,7 +928,8 @@ static void show_stats(struct diffstat_t* data, struct diff_options *options)
|
||||
total = add + del;
|
||||
}
|
||||
show_name(options->file, prefix, name, len, reset, set);
|
||||
fprintf(options->file, "%5d ", added + deleted);
|
||||
fprintf(options->file, "%5d%s", added + deleted,
|
||||
added + deleted ? " " : "");
|
||||
show_graph(options->file, '+', add, add_c, reset);
|
||||
show_graph(options->file, '-', del, del_c, reset);
|
||||
fprintf(options->file, "\n");
|
||||
|
Reference in New Issue
Block a user