aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-12 05:02:25 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-12 05:02:25 -0800
commitc611db196a8830135e1a03e5b4fa6502714ded24 (patch)
tree696f6a3ab5fc4afae7f301ff10526a5e4b8c1278
parent4890f62bc02929b174ff5fa0e3656ea3d40f0e57 (diff)
parent6932c78cb4485380a8ff63575a47a58a4e308bfd (diff)
downloadgit-c611db196a8830135e1a03e5b4fa6502714ded24.tar.gz
git-c611db196a8830135e1a03e5b4fa6502714ded24.tar.xz
Merge branch 'jc/fixdiff'
* jc/fixdiff: diff-tree: do not default to -c
-rw-r--r--diff-tree.c4
-rwxr-xr-xgit-whatchanged.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/diff-tree.c b/diff-tree.c
index b170b03fd..f55a35a9d 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -6,7 +6,7 @@ static int show_root_diff = 0;
static int no_commit_id = 0;
static int verbose_header = 0;
static int ignore_merges = 1;
-static int combine_merges = 1;
+static int combine_merges = 0;
static int dense_combined_merges = 0;
static int read_stdin = 0;
static int always_show_header = 0;
@@ -248,7 +248,7 @@ int main(int argc, const char **argv)
continue;
}
if (!strcmp(arg, "-m")) {
- combine_merges = ignore_merges = 0;
+ ignore_merges = 0;
continue;
}
if (!strcmp(arg, "-c")) {
diff --git a/git-whatchanged.sh b/git-whatchanged.sh
index 574fc3558..1fb9feb34 100755
--- a/git-whatchanged.sh
+++ b/git-whatchanged.sh
@@ -10,7 +10,7 @@ case "$0" in
count=
test -z "$diff_tree_flags" &&
diff_tree_flags=$(git-repo-config --get whatchanged.difftree)
- diff_tree_default_flags='-M --abbrev' ;;
+ diff_tree_default_flags='-c -M --abbrev' ;;
*show)
count=-n1
test -z "$diff_tree_flags" &&