Code

History

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