-
Notifications
You must be signed in to change notification settings - Fork 1.2k
diff: reimplement interface and tests from scratch #3229
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
198bf55
diff: reimplement interface and tests from scratch
ebd5a5a
diff: address comments from review
b2de740
tests: add result examples
f791371
diff: change structure to be indexed by path
bc8871e
diff: adjust some wording
576a276
diff: fix some tests and adjust result for modify
07abd1b
diff: add support for specifying a target
5ace747
diff: group by change state and support dirs
3db983f
tests/diff: use os.path.join instead of implying separator
b251682
diff: document diffables_from_output
a4ade13
diff: add JSON output
bd1adf2
diff: add CLI output
fe4eba5
diff: handle exceptions
6ef90f5
diff: add option to display checksums
bb22acd
diff: enable using diff when there is no cache
27ada02
scripts: update completion scripts for `diff`
e6a957a
tests/diff: add directory to no_cache_entry
10c0ff2
diff: remove extra sorting
9d14acd
:nail_care: remove excesive parenthesis
9171b9e
:nail_care: add reference explaining git revisions
2370cb1
diff: use logger instead of print
fced171
diff: --json -> --show-json
423a616
diff: make --checksums work with --json-show
a12d81f
tests/diff: fix windows compat issues
3c6b52b
diff: improve RevError message
7f6324e
diff: remove --target
f41ceb5
tests: adjust doc
76f5514
refactor
8e9d814
diff: remove deadcode, replace diffable with dicts
debf6cb
scm: dead code
e501549
diff: add a summary at the bottom
e9bd959
tests/diff: dont care about sorted jsons
2c22957
wording: update command help
793a069
tests/diff: order dictionary (second try)
673afe2
diff: be windows friendly at file counting
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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.