Merge branch 'jc/fix-diff-files-unmerged'
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 May 2011 17:52:58 +0000 (10:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 May 2011 17:52:58 +0000 (10:52 -0700)
* jc/fix-diff-files-unmerged:
  diff-files: show unmerged entries correctly
  diff: remove often unused parameters from diff_unmerge()
  diff.c: return filepair from diff_unmerge()
  test: use $_z40 from test-lib

1  2 
diff-lib.c
diff.c
diff.h
t/t1400-update-ref.sh
t/t1501-worktree.sh
t/t3200-branch.sh
t/t3600-rm.sh
t/t4002-diff-basic.sh
t/t4027-diff-submodule.sh
t/t7012-skip-worktree-writing.sh
t/test-lib.sh

diff --cc diff-lib.c
Simple merge
diff --cc diff.c
Simple merge
diff --cc diff.h
Simple merge
Simple merge
Simple merge
index 0ce95c04e50f4662f87600bd3af48da0492a72a2,4c4cff19634546d37b956dadbe9306db15ecbde4..9e69c8c926620f06343e64e7b3aa3e4ada5a6b69
@@@ -225,14 -212,9 +225,14 @@@ test_expect_success 
      'branch from non-branch HEAD w/--track causes failure' \
      'test_must_fail git branch --track my10 HEAD^'
  
 +test_expect_success \
 +    'branch from tag w/--track causes failure' \
 +    'git tag foobar &&
 +     test_must_fail git branch --track my11 foobar'
 +
  # Keep this test last, as it changes the current branch
  cat >expect <<EOF
0000000000000000000000000000000000000000 $HEAD $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150200 +0000    branch: Created from master
$_z40 $HEAD $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150200 +0000       branch: Created from master
  EOF
  test_expect_success \
      'git checkout -b g/h/i -l should create a branch and a log' \
diff --cc t/t3600-rm.sh
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc t/test-lib.sh
Simple merge