summaryrefslogtreecommitdiff
path: root/t/t4001-diff-rename.sh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 22:31:52 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 22:31:52 (GMT)
commitdc93841715dfa9a9cdda6f2c4a25eec831ea7aa0 (patch)
tree5e1c39a01feb2364f97f2c0c72e4a5870af9a69d /t/t4001-diff-rename.sh
parentf7b797073c2286fff8c4d46842ed00d868f3b2fa (diff)
downloadgit-dc93841715dfa9a9cdda6f2c4a25eec831ea7aa0.zip
git-dc93841715dfa9a9cdda6f2c4a25eec831ea7aa0.tar.gz
git-dc93841715dfa9a9cdda6f2c4a25eec831ea7aa0.tar.bz2
diff 'rename' format change.
Clearly even Junio felt git "rename" header lines should say "from/to" instead of "old/new", since he wrote the documentation that way. This way it also matches "copy". git-apply will accept both versions, at least for a while.
Diffstat (limited to 't/t4001-diff-rename.sh')
-rwxr-xr-xt/t4001-diff-rename.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4001-diff-rename.sh b/t/t4001-diff-rename.sh
index 933a5bf..80edae6 100755
--- a/t/t4001-diff-rename.sh
+++ b/t/t4001-diff-rename.sh
@@ -44,8 +44,8 @@ test_expect_success \
'git-diff-cache -p -M $tree >current'
cat >expected <<\EOF
diff --git a/path0 b/path1
-rename old path0
-rename new path1
+rename from path0
+rename to path1
--- a/path0
+++ b/path1
@@ -8,7 +8,7 @@ Line 7