Code

History

Commits on ig/vimdiffwarn to cli/src/diff_util.rs140+
  1. diff: add a file-by-file variant for external diff toolsMatt Kulukundis committed 2 years agoaaa99e6
  2. diff: do not add excessive number of context lines to last unified-diff hunkYuya Nishihara committed 2 years agof9a15ba
  3. diff: rely on emptiness of unified hunk lines whether to append "after" contextYuya Nishihara committed 2 years agoec709e7
  4. diff: simplify context line extraction by using DoubleEndedIteratorYuya Nishihara committed 2 years ago318f594
  5. diff: extract helpers that push unified-diff hunk linesYuya Nishihara committed 2 years ago3d458c3
  6. diff: inline hunk processing in get_diff_stat()Yuya Nishihara committed 2 years ago0ca8502
  7. cli: underline added/removed lines only in color-words diffsMartin von Zweigbergk committed 2 years ago848bb61
  8. cli: add label for line numbers in `--color-words` diffMartin von Zweigbergk committed 2 years ago5ba6078
  9. cli: Add an option to diff to output only paths.Matt Kulukundis committed 2 years ago33ab8d4
  10. diff: simply pass tokenizer Fn by valueYuya Nishihara committed 2 years ago5f2f13a
  11. diff_util: don't panic for file hashes < 10 hex charsdploch committed 2 years ago539edad
  12. backend: add error variant for access denied, handle when diffingMartin von Zweigbergk committed 2 years ago404f31c
  13. diff_util: replace `DiffWorkspaceContext` by `RepoPathUiConverter`Martin von Zweigbergk committed 2 years ago35c7606
  14. conflicts: indicate executable conflict in git-format diffMartin von Zweigbergk committed 2 years agob227dde
  15. diff_util: remove WorkspaceCommandHelper dependency from show functionsYuya Nishihara committed 2 years ago4d9c84a
  16. diff_util: remove WorkspaceCommandHelper dependency from inner show functionsYuya Nishihara committed 2 years ago7341bff
  17. diff_util: pass repo in to inner show functions by argumentYuya Nishihara committed 2 years ago13f10f6
  18. diff_util: pass term_width() in to show_diff_stat() by argumentYuya Nishihara committed 2 years ago6e7c9f1
  19. diff_util: remove CommandError dependency from show functionsYuya Nishihara committed 2 years agof614c96
  20. commit: add a helper for returning parent tree of `Commit`Martin von Zweigbergk committed 2 years agodbba2ed
  21. formatter: use write!() or writeln!() thoroughly, remove .write_str()Yuya Nishihara committed 2 years ago00285be
  22. Add --context flag for diffs.Anton Älgmyr committed 2 years ago38b27de
  23. cli: extract CommandError and helper functions to new moduleYuya Nishihara committed 2 years ago97024e5
  24. cli: don't ignore 'diff --tool=:builtin', report errorYuya Nishihara committed 2 years ago9698a13
  25. merge_tools: inline get_tool_config_from_args()Yuya Nishihara committed 2 years agod7ad054
  26. don't try to diff binary filesjyn committed 2 years ago52f4fb1
  27. cli: change `R` to `D` for "deleted" in diff summaryIlya Grigoriev committed 2 years agobef2eca
  28. cli: group diff formatting options in helpYuya Nishihara committed 2 years ago3357882
  29. object_id: extract ObjectId trait and macros to separate moduleYuya Nishihara committed 2 years agofa5e407
  30. cli: read files concurrently when diffingMartin von Zweigbergk committed 3 years ago0d02724
  31. repo_path: make to_internal_file_string() return &str, rename accordinglyYuya Nishihara committed 2 years ago55f7527
  32. diff_utils: return `&str` from `basic_diff_file_type()`Martin von Zweigbergk committed 3 years agobf36933
  33. cli: pass `MaterializedTreeValue` into `diff_content()`Martin von Zweigbergk committed 3 years agoffbfd74
  34. cli: pass `MaterializedTreeValue` into `git_diff_part()`Martin von Zweigbergk committed 3 years ago120115a
  35. diff_utils: pass tree value into `diff_content()` by valueMartin von Zweigbergk committed 3 years agob11f7ee