-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cp: fix the result of inodes are not the same when preserve links is flagged #5064
Merged
Merged
Changes from 7 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
5a94557
fix-issue-5031
tommady ea8794c
Merge branch 'main' into fix-issue-5031
tommady 31c1ebf
fix spelling
tommady 1dfa23f
add explanation
tommady cde4af8
Merge branch 'main' into fix-issue-5031
tommady efbdf51
adding testcase for 5031
tommady a3803af
adding new testcase for 5031
tommady 37e3a7c
Fix a typo
sylvestre 0cd08e7
add testcase 3
tommady fa4ea63
Merge branch 'main' into fix-issue-5031
tommady 930137c
remove unused code
tommady 86a96fa
Merge branch 'main' into fix-issue-5031
tommady 8820a04
by pass case 3 unit test on android
tommady bc9a054
Merge branch 'main' into fix-issue-5031
tommady b94be4c
by pass case 1 and 2 unit tests on android
tommady 5ede19a
Merge branch 'main' into fix-issue-5031
tommady 94fb212
add 5031 ut case 4 and fix it
tommady f49b86b
add 5031 ut case 5
tommady 28278e2
fix linter issues
tommady bdaa394
Merge branch 'main' into fix-issue-5031
tommady 395cee4
fix unit test failed
tommady 48e7f2e
Merge branch 'main' into fix-issue-5031
tommady 87bae22
align preserve links unit tests with gnu cp tests
tommady bf87a44
correct preserve links unit test case 5
tommady 340df6b
using single copied FileInformation map to do the job
tommady 35000cf
Merge branch 'fix-issue-5031' of github.com:tommady/coreutils into fi…
tommady cb65994
Merge branch 'main' into fix-issue-5031
tommady 5bf83d0
remove unused clippy too many arg allowance
tommady 26b5727
adding some comments to explain the copied_file hashmap and the hard_…
tommady 36487a9
fix ERROR: Unknown word (hashmap's)
tommady d77e2a5
fix ERROR: Unknown word (files's)
tommady 49edf6b
Merge branch 'main' into fix-issue-5031
tommady ba69841
let the unit tests run on android and freebsd
tommady 57718f8
Merge branch 'main' into fix-issue-5031
tommady 2b7e3c4
let the unit tests run on unix platform while the inode assertion
tommady 844d99b
Merge branch 'main' into fix-issue-5031
tommady 3554e62
let MetadataExt can be used while testing on freebsd platform
tommady 2743c11
Merge branch 'main' into fix-issue-5031
tommady c592a0a
address comments
tommady f65fd74
Merge branch 'main' into fix-issue-5031
tommady 8e9c2a3
Merge branch 'main' into fix-issue-5031
tommady be274d3
Merge branch 'main' into fix-issue-5031
tommady 926db5e
Merge branch 'main' into fix-issue-5031
tommady 5e59458
address comment move the copied_files hashmap insertion from each cop…
tommady abb2c0f
restore the dest variable back to it's original place of definition
tommady 39ad651
fix clippy linter issue
tommady 4eb2a27
Merge branch 'main' into fix-issue-5031
tommady 04f4abc
address comment, merge preserve_hardlinks function
tommady 4af43c4
Merge branch 'fix-issue-5031' of github.com:tommady/coreutils into fi…
tommady 1377e6f
Merge branch 'main' into fix-issue-5031
tommady 8dc3deb
fix clippy linter issue
tommady 8adcafb
Merge branch 'fix-issue-5031' of github.com:tommady/coreutils into fi…
tommady 0abb096
address comments
tommady fd4b7cf
address comments
tommady f81145e
address comments
tommady d7d58b0
Merge branch 'main' into fix-issue-5031
tommady 5827f91
Merge branch 'main' into fix-issue-5031
tommady File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seen_sources
is a name I understand immediately, but I don't really understandshould_hard_linked_files
? Can we give it a more descriptive name?