commit - ef1538260f78376b6fb605ffb10d682f5877afc2
commit + 308ce28964ee726cc950ac9ae973cb286075581f
blob - be4acc192b1d47a163f835688c0151e87c860101
blob + 881527d776040fc59c1fa690c545e87532dd42dd
--- got/got.c
+++ got/got.c
if (err)
break;
- if ((show_changed_paths || (show_diffstat && !show_patch))
+ if (((show_changed_paths && !show_diffstat) ||
+ (show_diffstat && !show_patch))
&& !reverse_display_order) {
err = get_changed_paths(&changed_paths, commit, repo,
show_diffstat ? &dsa : NULL);
&qid->id);
if (err)
break;
- if (show_changed_paths ||
+ if ((show_changed_paths && !show_diffstat) ||
(show_diffstat && !show_patch)) {
err = get_changed_paths(&changed_paths, commit,
repo, show_diffstat ? &dsa : NULL);