Code

History

Commits on ig/docs-commitid to cli/src/diff_util.rs140+
  1. diff: specify available terminal width by caller, subtract graph widthYuya Nishihara committed 2 years agodc2b550
  2. ui: fill in default term width globally and return as usizeYuya Nishihara committed 2 years ago1977748
  3. diff: move materialized_diff_stream() to jj_lib::conflicts moduleYuya Nishihara committed 2 years agoa9af8d2
  4. templater: add commit.diff().<format>() methodsYuya Nishihara committed 2 years agod1912bf
  5. diff: pass repo.store() to inner show_*_diff() functions, reorder argumentsYuya Nishihara committed 2 years ago4a63a1f
  6. diff: do not emit unified diff for binary filesYuya Nishihara committed 2 years ago692c996
  7. diff: do not emit unified diff header on absent/empty transitionsYuya Nishihara committed 2 years agoe3055e5
  8. diff: refactor show_git_diff() to construct GitDiffPart for absent sideYuya Nishihara committed 2 years ago53f7acb
  9. diff: clarify that mode flag of GitDiffPart is hard-codedYuya Nishihara committed 2 years ago7bdc4a9
  10. diff: fix typo in Git diff "index old..new" headerYuya Nishihara committed 2 years ago07a6a80
  11. diff: accept diff inputs by generic iteratorYuya Nishihara committed 2 years ago59daef2
  12. diff: fix typo in get_diff_stat() commentYuya Nishihara committed 2 years ago8856e6d
  13. diff: add short for Diff::for_tokenizer(_, find_line_ranges)Yuya Nishihara committed 2 years ago6a1d926
  14. diff: highlight word-level changes in git diffsYuya Nishihara committed 2 years ago44a3901
  15. diff: deduplicate write() calls in show_unified_diff_hunks()Yuya Nishihara committed 2 years ago9e8a739
  16. diff: add a file-by-file variant for external diff toolsMatt Kulukundis committed 2 years agoaaa99e6
  17. diff: do not add excessive number of context lines to last unified-diff hunkYuya Nishihara committed 2 years agof9a15ba
  18. diff: rely on emptiness of unified hunk lines whether to append "after" contextYuya Nishihara committed 2 years agoec709e7
  19. diff: simplify context line extraction by using DoubleEndedIteratorYuya Nishihara committed 2 years ago318f594
  20. diff: extract helpers that push unified-diff hunk linesYuya Nishihara committed 2 years ago3d458c3
  21. diff: inline hunk processing in get_diff_stat()Yuya Nishihara committed 2 years ago0ca8502
  22. cli: underline added/removed lines only in color-words diffsMartin von Zweigbergk committed 2 years ago848bb61
  23. cli: add label for line numbers in `--color-words` diffMartin von Zweigbergk committed 2 years ago5ba6078
  24. cli: Add an option to diff to output only paths.Matt Kulukundis committed 2 years ago33ab8d4
  25. diff: simply pass tokenizer Fn by valueYuya Nishihara committed 2 years ago5f2f13a
  26. diff_util: don't panic for file hashes < 10 hex charsdploch committed 2 years ago539edad
  27. backend: add error variant for access denied, handle when diffingMartin von Zweigbergk committed 2 years ago404f31c
  28. diff_util: replace `DiffWorkspaceContext` by `RepoPathUiConverter`Martin von Zweigbergk committed 2 years ago35c7606
  29. conflicts: indicate executable conflict in git-format diffMartin von Zweigbergk committed 2 years agob227dde
  30. diff_util: remove WorkspaceCommandHelper dependency from show functionsYuya Nishihara committed 2 years ago4d9c84a
  31. diff_util: remove WorkspaceCommandHelper dependency from inner show functionsYuya Nishihara committed 2 years ago7341bff
  32. diff_util: pass repo in to inner show functions by argumentYuya Nishihara committed 2 years ago13f10f6
  33. diff_util: pass term_width() in to show_diff_stat() by argumentYuya Nishihara committed 2 years ago6e7c9f1
  34. diff_util: remove CommandError dependency from show functionsYuya Nishihara committed 2 years agof614c96
  35. commit: add a helper for returning parent tree of `Commit`Martin von Zweigbergk committed 2 years agodbba2ed