Code

History

Commits on ig/commit-debug to cli2345+
  1. cli: add support for formatted error hintsYuya Nishihara committed 2 years ago1061c91
  2. cli: highlight error source headers as wellYuya Nishihara committed 2 years agoa25cac7
  3. cli: colorize only "Error: "/"Warning: "/"Hint: " headingsYuya Nishihara committed 2 years ago195e788
  4. cli: print "Failed to wait on pager" as warningYuya Nishihara committed 2 years ago078acc9
  5. cli: add "Hint: " or "Warning: " heading to almost all messagesYuya Nishihara committed 2 years ago3152570
  6. tests: use jj_cmd_ok() in test_git_fetch_single_remote()Yuya Nishihara committed 2 years ago6a98799
  7. commit_templater: make git_head return Option<RefName> instead of Vec<_>Yuya Nishihara committed 2 years agob363e69
  8. cli: add convenient methods to print hint or warning with default headingsYuya Nishihara committed 2 years agobd3d930
  9. cli: highlight "Error: " headingsYuya Nishihara committed 2 years ago2e91146
  10. cli: highlight "Warning: " and "warning: " headingsYuya Nishihara committed 2 years ago1ebe751
  11. cli: highlight "Hint: " headingYuya Nishihara committed 2 years ago78ce9ea
  12. formatter: add wrapper that writes labeled heading once with contentYuya Nishihara committed 2 years ago894219d
  13. repo: delete `record_rewritten_commit()`Martin von Zweigbergk committed 2 years agod2043f0
  14. repo: make `record_rewritten_commit()` accept only one replacement idMartin von Zweigbergk committed 2 years agoe55168f
  15. next, prev: fix choice from more than two targetsYuya Nishihara committed 2 years ago02d4d14
  16. cli: indent commits summary in single revset resolution hintYuya Nishihara committed 2 years ago15ff7df
  17. cli: format single revset resolution hint with reused template instanceYuya Nishihara committed 2 years ago65ef700
  18. templater: turn logical && and || into short-circuiting operatorsYuya Nishihara committed 2 years ago96e0bc0
  19. templater: update comment why Template isn't TemplateProperty<Output = ..>Yuya Nishihara committed 2 years agodf7be43
  20. templater: remove unused context parameter from Template<C>Yuya Nishihara committed 2 years ago577e030
  21. templater: turn Root/PlaceholderTemplate into non-Template typeYuya Nishihara committed 2 years ago24ab8f7
  22. git-push: process --change branches first to avoid pushing old branch stateYuya Nishihara committed 2 years agof312307
  23. git-push: filter out duplicated branch names by callerYuya Nishihara committed 2 years ago538bfbc
  24. git-push: extract function that updates push-{change_id} branchesYuya Nishihara committed 2 years agod749ef0
  25. git-push: check duplicated --change branch prior to recording branch_updatesYuya Nishihara committed 2 years ago620f0cd
  26. tests: run "git push" with both --change and --branch argumentsYuya Nishihara committed 2 years agof88679b
  27. cli: split single revset resolution hint to paragraphsYuya Nishihara committed 2 years agoe50d96e
  28. cli: remove less-frequently-used user_error factoriesYuya Nishihara committed 2 years agob77a110
  29. cli: allow to attach multiple hints to CommandErrorYuya Nishihara committed 2 years ago2523dc1
  30. cli: extract helper that prints error message, sources, and hintYuya Nishihara committed 2 years agobb0dcc0
  31. cli: reorganize CommandError as (kind, err, hint) tupleYuya Nishihara committed 2 years agoaeb3470
  32. cli: extract clap::Error handling to functionYuya Nishihara committed 2 years ago7a2077a
  33. cli: add more CommandError factory functions, consolidate inner typeYuya Nishihara committed 2 years agoc333481
  34. log: encode elided node as NoneYuya Nishihara committed 2 years agoc311131
  35. commit_templater: teach elidable (or optional) commitYuya Nishihara committed 2 years ago2fc7feb