This series extends the diff type combobox to include a new "stat only"
mode, which outputs only the stat section of the diff.

The first two patches are preparatory cleanups to remove some references
to the existing "ssdiff" flag, then we change that flag to an enum in
patch 3 and add the "stat only" value in the final patch.

John Keeping (4):
  ui-shared: remove toggle_ssdiff arg to cgit_commit_link()
  ui-shared: remove toggle_ssdiff arg to cgit_diff_link()
  Change "ss" diff flag to an enum
  ui-diff: add "stat only" diff type

 cgit.c      | 12 ++++++++----
 cgit.h      | 10 +++++++---
 ui-commit.c |  6 +++---
 ui-diff.c   | 16 +++++++++++-----
 ui-log.c    |  4 ++--
 ui-refs.c   |  2 +-
 ui-shared.c | 23 +++++++++++------------
 ui-shared.h |  5 ++---
 8 files changed, 45 insertions(+), 33 deletions(-)

-- 
2.1.0.374.g390713e

_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to