diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-11 16:43:30 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-11 23:18:33 -0800 |
commit | 6932c78cb4485380a8ff63575a47a58a4e308bfd (patch) | |
tree | 2732bc20792ab8cfa7e2eacc241ef2783304f026 /strbuf.c | |
parent | 16139f9035137ccd81e1e9a9dc203fbede6997a0 (diff) | |
download | git-6932c78cb4485380a8ff63575a47a58a4e308bfd.tar.gz git-6932c78cb4485380a8ff63575a47a58a4e308bfd.tar.xz |
diff-tree: do not default to -c
Marco says it breaks qgit. This makes the flags a bit more
orthogonal.
$ git-diff-tree -r --abbrev ca18
No output from this command because you asked to skip merge by
not having -m there.
$ git-diff-tree -r -m --abbrev ca18
ca182053c7710a286d72102f4576cf32e0dafcfb
:100644 100644 538d21d... 59042d1... M Makefile
:100644 100644 410b758... 6c47c3a... M entry.c
ca182053c7710a286d72102f4576cf32e0dafcfb
:100644 100644 30479b4... 59042d1... M Makefile
The same "independent sets of diff" as before without -c.
$ git-diff-tree -r -m -c --abbrev ca18
ca182053c7710a286d72102f4576cf32e0dafcfb
::100644 100644 100644 538d21d... 30479b4... 59042d1... MM Makefile
Combined.
$ git-diff-tree -r -c --abbrev ca18
ca182053c7710a286d72102f4576cf32e0dafcfb
::100644 100644 100644 538d21d... 30479b4... 59042d1... MM Makefile
Asking for combined without -m does not make sense, so -c
implies -m.
We need to supply -c as default to whatchanged, which is a
one-liner.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions