t4008: correct stale comments
A complete rewrite of a single file was originally designed to be expressed as a deletion immediately followed by a creation of the same file, and the comments in the test updated here were written to reflect that design decision made in f345b0a0 (Add -B flag to diff-* brothers., 2005-05-30). However, we later realized that a complete rewrite is merely how a textual diff should be represented at 366175ef (Rework -B output., 2005-06-19), and updated the actual tests. But we forgot to update the introductory text while doing so. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Feb 15, 2015 at 12:42 UTC
f2b4f0a23b400f5760deb9251296d79eba83ab78
1 file changed
+3
-3
t/t4008-diff-break-rewrite.sh
+3
-3
@@ -10,14 +10,14 @@ We have two very different files, file0 and file1, registered in a tree.
10
We update file1 so drastically that it is more similar to file0, and
11
then remove file0. With -B, changes to file1 should be broken into
12
separate delete and create, resulting in removal of file0, removal of
13
-original file1 and creation of completely rewritten file1.
13
+original file1 and creation of completely rewritten file1. The latter
14
+two are then merged back into a single "complete rewrite".
15
16
Further, with -B and -M together, these three modifications should
17
turn into rename-edit of file0 into file1.
18
19
Starting from the same two files in the tree, we swap file0 and file1.
19
-With -B, this should be detected as two complete rewrites, resulting in
20
-four changes in total.
20
+With -B, this should be detected as two complete rewrites.
21
22
Further, with -B and -M together, these should turn into two renames.
23
'