Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Drop rev settings that change nothing
repo_init_revisions already sets abbrev, commit_format and
show_root_diff to these values, and verbose_header is only read by
log_tree_commit, which the log and stats walks never call.
Diffstat (limited to 'source/ui-patch.c')
| -rw-r--r-- | source/ui-patch.c | 1 |
1 file changed, 0 insertions, 1 deletion
diff --git a/source/ui-patch.c b/source/ui-patch.c index 04083fe..5f1e5c6 100644 --- a/source/ui-patch.c +++ b/source/ui-patch.c @@ -103,7 +103,6 @@ void cgit_print_patch(const char *new_rev, const char *old_rev, const char *pref if (ctx.cfg.max_blob_size) repo_settings_set_big_file_threshold(the_repository, (unsigned long)ctx.cfg.max_blob_size * 1024); repo_init_revisions(the_repository, &rev, NULL); - rev.abbrev = DEFAULT_ABBREV; rev.verbose_header = 1; rev.diff = 1; rev.show_root_diff = 1; |
