Code

History

Commits on git-sync to cli/src/diff_util.rs105+
  1. cleanup: enable `unused_trait_names` clippy lint and run `clippy --fix`Ilya Grigoriev committed 1 year agoacaedc3
  2. cli: emit warning for deprecated diff.format, move default to config/misc.tomlYuya Nishihara committed 1 year agodcf4771
  3. diff: fix inconsistent handling of "short" format argumentsYuya Nishihara committed 1 year ago902ef9f
  4. cleanup: switch to use<'_> capturing syntaxYuya Nishihara committed 1 year agoa27d925
  5. clippy: replace `allow` directives with `expect` or delete them when possibleIlya Grigoriev committed 1 year agoc36bfaf
  6. diff: extract DiffStats type and calculate() functionYuya Nishihara committed 1 year agob9aef59
  7. diff: map read error of materialized file to BackendErrorYuya Nishihara committed 1 year ago7c2d9f2
  8. diff: rename struct DiffStat to DiffStatEntryYuya Nishihara committed 1 year ago7a66122
  9. diff: accumulate diff stat numbers separatelyYuya Nishihara committed 1 year agoe856449
  10. diff: do not format diff stat paths earlyYuya Nishihara committed 1 year ago2bef93b
  11. diff: remove ad-hoc rename handling in show_diff_stat()Yuya Nishihara committed 1 year ago90e7934
  12. templater: add TreeDiffEntry typesYuya Nishihara committed 1 year agob22347e
  13. diff: extract function that maps diff entry to status label and charYuya Nishihara committed 1 year agoe21f8e6
  14. templater: load diff parameters from config fileYuya Nishihara committed 1 year ago9683d81
  15. cli: split diff options constructors to not require command argsYuya Nishihara committed 1 year ago3ed77c9
  16. style: remove useless type conversionSamuel Tardieu committed 1 year ago373b155
  17. cli/src/diff_util.rs: fix typo in `diff --name-only`Tim Janik committed 1 year ago779272c
  18. diff: fix unified diff to emit one-lower start line number for empty hunksYuya Nishihara committed 1 year ago8c4ba4a
  19. config: introduce our ConfigGetError typeYuya Nishihara committed 1 year agoc0ce880
  20. config: move ConfigResultExt from settings moduleYuya Nishihara committed 1 year agoba739b2
  21. conflicts: add "ui.conflict-marker-style" configScott Taylor committed 1 year agoe5cb9f9
  22. settings: add forwarding getters, replace most of .config() usesYuya Nishihara committed 1 year agofc57139
  23. config: add type alias for config::ConfigErrorYuya Nishihara committed 1 year ago6d26d53
  24. conflicts: extract materialize_merge_result_to_bytes() helperYuya Nishihara committed 2 years ago59a79fd
  25. repo_path: add stub for checked to_fs_path(), rename unchecked functionsYuya Nishihara committed 2 years ago739bf8d
  26. diff: Allow setting the default level of context in config.Dave Townsend committed 2 years ago891fa88
  27. diff: remove duplicated source message from AccessDenied errorYuya Nishihara committed 2 years ago153873a
  28. object_id: implement Display on ObjectId typesYuya Nishihara committed 2 years agoad4b940
  29. formatter: flush color escape sequence when raw() stream is requestedYuya Nishihara committed 2 years ago8bb806e
  30. diff: inline contents and ranges vecs up to two sidesYuya Nishihara committed 2 years agoe5e85e7
  31. formatters: implement raw() for FormatRecorderVamsi Avula committed 2 years ago92103f4
  32. cli: in color-words diffs, highlight word-level hunks in context linesYuya Nishihara committed 2 years ago68f4860
  33. cli: extract helpers from show_color_words_context_lines()Yuya Nishihara committed 2 years ago1eeeb14
  34. cli: add diff --ignore-all-space/--ignore-space-change flagsYuya Nishihara committed 2 years ago6877ec4
  35. cli: extract UnifiedDiff/DiffStatOptions structsYuya Nishihara committed 2 years agodc95451