mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-05-07 16:05:30 +02:00
test: tweak and clarify copy-rename test
... to align it with current git's more restricted behavior
This commit is contained in:
@@ -491,8 +491,11 @@ testcopyrename='
|
||||
cd gitrepo &&
|
||||
cp content content-copy &&
|
||||
# recent git-fast-export is (too) picky in recognizing copies
|
||||
# although git-log is not as picky (????)
|
||||
# echo one > content &&
|
||||
# although git-log is not as picky;
|
||||
# since https://github.com/git/git/commit/8096e1d385660c159d9d47e69b2be63cf22e4f31
|
||||
# a copy is only marked if source filed not modified as well
|
||||
# (though destination file can be modified)
|
||||
echo one >> content-copy &&
|
||||
git add content content-copy &&
|
||||
git commit -m copy &&
|
||||
git mv content-copy content-moved
|
||||
|
||||
Reference in New Issue
Block a user