Skip to content

Commit

Permalink
Merge branch 'jc/fixdiff'
Browse files Browse the repository at this point in the history
* jc/fixdiff:
  diff-tree: do not default to -c
  • Loading branch information
Junio C Hamano committed Feb 12, 2006
2 parents 4890f62 + 6932c78 commit c611db1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions diff-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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")) {
Expand Down
2 changes: 1 addition & 1 deletion git-whatchanged.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" &&
Expand Down

0 comments on commit c611db1

Please sign in to comment.