killarny
bcb99110bd
Temporarily unset GIT_EXTERNAL_DIFF when invoking git diff.
When the git diff command is customized through setting GIT_EXTERNAL_DIFF in the environment, the output of cdiff is broken and defaults to the output of the tool git has been configured to use.
Temporarily unsetting this variable when cdiff invokes git diff fixes the issue.
11 years ago
Matthew Wang
56eb7bce95
Version info and document update for 0.9
11 years ago
Matthew Wang
04ac895387
Refactor to make logic clearer, no DiffOps anymore
If need to support normal diff, writing a ndiff to udiff translator
makes more sense
11 years ago
Matthew Wang
ab9a9981c6
Enhance diff parser on handling hunk links, fix #20
11 years ago
Matthew Wang
e7854dddde
Support context diff via filterdiff, fixed #15
11 years ago
Matthew Wang
2e49a7eb3f
Fall through unknown format to 'unified', fixed #18
11 years ago
Steven Myint
5ddd06fd05
Handle a diff with only an svn property change
11 years ago
Matthew Wang
b87376fac9
Should tolerate dos format
11 years ago
Matthew Wang
69e4b1683e
Probe context diff for #15
11 years ago
Matthew Wang
7881a41f69
- Naming enhancement for unified diff
11 years ago
Matthew Wang
b6a591a6ce
Version bump up to 0.8
11 years ago
Matthew Wang
e191e54ea6
Fixed #14 by tolerating dangling headers and short patch < 4 lines
11 years ago
Matthew Wang
6a6249f4c6
Dirty fix false alarm of dangling header reported in issue #14
11 years ago
Matthew Wang
a09947c1b5
Enough unit tests (95%)
11 years ago
Matthew Wang
45b95d6e09
Split Diff detector methods to class DiffOps
11 years ago
Matthew Wang
b601b6206d
Use '# pragma: no cover' to ignore 1 line logic
11 years ago
Matthew Wang
f64e6ceb35
Conform PEP8 (with minor own flavors)
11 years ago
Matthew Wang
7203ec0983
Version bump up to 0.7.1
11 years ago
Matthew Wang
a413a0351d
Handle 'Binary files ... differ'
11 years ago
Matthew Wang
c929b5fc3a
Remove unused 'IS_PY3'
11 years ago
Matthew Wang
176bd406a6
Document/usage update for 0.7
11 years ago
Matthew Wang
957483ad17
Inline usage update
11 years ago
Matthew Wang
75b79f0935
Support reading diff or log for given files/dirs in workspace (usage changed on
11 years ago
Matthew Wang
0525f7c1dc
Handle 'Only in <dir>: ' header in output from diff -ru d1 d2
11 years ago
Matthew Wang
8f1aa45c8b
revert debug code; clean up
11 years ago
Matthew Wang
e4eccf3fbc
Code and doc lint
11 years ago
Matthew Wang
4835304ffa
Document update and clean up for v0.6
11 years ago
Matthew Wang
8bea7f19f0
Less useless getters
11 years ago
Matthew Wang
6e60a56c0c
Make patch parser more solid
11 years ago
Steven Myint
ec6d34da5b
Show merge history in Subversion log
Without this, some of the logs will not be shown.
11 years ago
Matthew Wang
8f24a53487
More clear logic with _fit_with_marker_mix()
11 years ago
Matthew Wang
58bb01b0a7
Performance enhancement
11 years ago
Matthew Wang
7debe071d5
- Fixed incorrect yield on diff missing eof
- Fixed a bug in diff format probe
- Handle keyboard interrupt and large diffs in non-color mode
- Code clean up
11 years ago
Steven Myint
6e9d22e205
Gracefully handle keyboard interrupt
Previously, a keyboard interrupt would result in a corrupted terminal.
This would manifest when doing "cdiff --log" on somewhat large
repositories.
11 years ago
Steven Myint
590fe00549
Don't print help in "--log"
The user explicitly asked for a log and thus knows what he is doing.
11 years ago
Steven Myint
4c83c806ea
Handle large diffs in non-color mode
11 years ago
Matthew Wang
d5b5153c95
Document update for v0.5
11 years ago
Matthew Wang
d7c1db8160
Version bump up; document update
11 years ago
Matthew Wang
3fcd0625b9
Use generator to deal with large patch stream
11 years ago
Steven Myint
93d2bf08bf
Add "--log" option
This will use the patch log from git, svn, or hg.
11 years ago
Steven Myint
500b0686e7
Remove unused imports
11 years ago
Matthew Wang
3ef2ab85ad
Older less does not have '-K'
11 years ago
Matthew Wang
20a8acacf6
Better patch parser; support svn log --diff
11 years ago
Matthew Wang
329760c5c8
Use wrapper `cdiff` instead of symlink for future unit test; doc update
11 years ago
Matthew Wang
ca2fa1c41b
for issue #7 : merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2
11 years ago
Matthew Wang
abe1787c4b
Support compare two files (wrapper of diff)
11 years ago
Matthew Wang
4bcbeff43d
Fix issue #8 version awfullness
11 years ago
Matthew Wang
b9f5507620
document/usage update; refactor for better support other diff formats in future
11 years ago
Matthew Wang
4f63013531
Read version from source code; add --version; try protect my email from spambot
11 years ago
Matthew Wang
e2dbc3a12e
more comments for wchar problem
11 years ago