Code

History

Commits on ig/vimdiffwarn to cli/src/description_util.rs35+
  1. cli: pad empty description intro/instruction lines with "JJ:"Yuya Nishihara committed 1 year ago4bcebe6
  2. cleanup: enable `unused_trait_names` clippy lint and run `clippy --fix`Ilya Grigoriev committed 1 year agoacaedc3
  3. cli: remove `unsquash` subcommandGeorge Christou committed 1 year ago5eb3c5b
  4. cli: squash: use draft description template to generate editor contentYuya Nishihara committed 1 year ago832e7b3
  5. cli: split combine_messages() to two partsYuya Nishihara committed 1 year ago3cf6b3c
  6. rewrite: move description handling from squash_commits() to callerYuya Nishihara committed 1 year agoe85a5c4
  7. cli: replace run_ui_editor() and edit_temp_file() with editor typeYuya Nishihara committed 1 year ago641ec52
  8. cli: add "ui.editor" type that captures configurationYuya Nishihara committed 1 year agoe306f84
  9. describe: ignore everything below `ignore-rest` lineBryce Berger committed 1 year ago1d3c3b8
  10. cli: consider "JJ:" lines as comments also when not followed by spaceMartin von Zweigbergk committed 1 year ago7618b52
  11. settings: add forwarding getters, replace most of .config() usesYuya Nishihara committed 1 year agofc57139
  12. description_util: remove dependency on WorkspaceCommandHelperdploch committed 2 years ago85f1ac3
  13. style: inline variables into format stringsSamuel Tardieu committed 2 years ago46e2723
  14. style: remove useless uses of `.iter()`Samuel Tardieu committed 2 years ago62f582e
  15. cli: pass &Ui to parse fileset/revset/template functionsYuya Nishihara committed 2 years ago4533e81
  16. cli: remove unneeded &mut from edit_multiple_descriptions()Yuya Nishihara committed 2 years ago3c04507
  17. cli: get repo path from `WorkspaceCommandHelper`, not from `ReadonlyRepo`Martin von Zweigbergk committed 2 years agobfb16a4
  18. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  19. describe: warn user of limitations when describing multiple commitsIlya Grigoriev committed 2 years ago132dfd3
  20. describe multiple commits: instruct user where to put commit descriptionsIlya Grigoriev committed 2 years ago6d1cc7f
  21. cli: allow any number of trailing dashes in "JJ: describe" lineYuya Nishihara committed 2 years ago0b1a6cd
  22. cli: minor style cleanup in parse_bulk_edit_message()Yuya Nishihara committed 2 years agofb3e120
  23. cli: remove redundant string concatenation from parse_bulk_edit_message()Yuya Nishihara committed 2 years agof7b8a22
  24. describe: allow updating the description of multiple commitsBenjamin Tan committed 2 years ago35b04f4
  25. cli: port description template to templaterYuya Nishihara committed 2 years agod6e9788
  26. cli: merge description_template_for_*() functionsYuya Nishihara committed 2 years ago5a19eb6
  27. cli: commit, split: set default description to intermediate commit objectYuya Nishihara committed 2 years ago45d16f4
  28. cli: commit, split: pass temporary commit object to description helperYuya Nishihara committed 2 years ago6395d32
  29. cli: describe: set default description to temporary commit objectYuya Nishihara committed 2 years agob9cc61b
  30. diff_util: remove WorkspaceCommandHelper dependency from show functionsYuya Nishihara committed 2 years ago4d9c84a
  31. description_utils: teach `combine_messages()` to handle more than two sourcesMartin von Zweigbergk committed 2 years agof3e35f1
  32. description_util: make combine_messages() not handle abandoned commitMartin von Zweigbergk committed 2 years ago2b8988c
  33. cli: move join_message_paragraphs() to description_utilYuya Nishihara committed 2 years ago4dfded2
  34. cli: extract CommandError and helper functions to new moduleYuya Nishihara committed 2 years ago97024e5
  35. cli_util: improve API for editing text in a tempfileDaniel Ploch committed 2 years ago4024fb4