summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-02-12 05:02:25 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-02-12 05:02:25 -0800
commitc611db196a8830135e1a03e5b4fa6502714ded24 (patch)
tree696f6a3ab5fc4afae7f301ff10526a5e4b8c1278
parentAvoid using "git-var -l" until it gets fixed. (diff)
parentdiff-tree: do not default to -c (diff)
downloadtgif-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 b170b03fd3..f55a35a9d5 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 574fc3558e..1fb9feb348 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" &&