Skip to content

Rework diff options

Timo Hirvonen git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Clean up diff.cdiff.c+6 -120 replies
2/7Merge with_raw, with_stat and summary variables to output_formatbuiltin-diff.c builtin-log.c combine-diff.c +3 more+136 -1449 replies
3/7Make --raw option available for all diff commandsbuiltin-diff.c diff.c+14 -360 replies
4/7Set default diff output format after parsing command linebuiltin-diff-files.c builtin-diff-index.c builtin-diff-stages.c +4 more+18 -30 replies
5/7DIFF_FORMAT_RAW is not default anymorebuiltin-log.c revision.c+2 -60 replies
6/7--name-only, --name-status, --check and -s are mutually exclusivediff.c+13 -00 replies
7/7Remove awkward compatibility wartsbuiltin-diff-files.c builtin-diff.c+0 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Rework diff options

This patch series cleans up diff output format options.

This makes it possible to use any combination of --raw, -p, --stat and --summary options and they work as you would expect.

These patches passed all test and are for the next branch. Patches 6 and 7 are optional.

 b/builtin-diff-files.c  |   10 --
 b/builtin-diff-index.c  |    3 
 b/builtin-diff-stages.c |    3 
 b/builtin-diff-tree.c   |    3 
 b/builtin-diff.c        |   62 +++----------
 b/builtin-log.c         |   13 +-
 b/combine-diff.c        |   55 +++++------
 b/diff.c                |  221 +++++++++++++++++++++++-------------------------
 b/diff.h                |   27 +++--
 b/log-tree.c            |   10 +-
 b/revision.c            |    4 
 11 files changed, 189 insertions(+), 222 deletions(-)
Signature · 1 line
http://onion.dynserv.net/~timo/