Code

History

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