Code

History

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