Code

History

Commits on ig/docs-commitid to cli/src/commit_templater.rs140+
  1. templater: use .map_or() to silence clippy without sacrificing readabilityYuya Nishihara committed 2 years ago3792f4a
  2. nightly clippy fixesIlya Grigoriev committed 2 years ago6d3d7c6
  3. templater: implement expect_*_arguments() as methodsYuya Nishihara committed 2 years ago04efac3
  4. templater: propagate error from commit.parents() methodYuya Nishihara committed 2 years agoa61f91b
  5. cleanup: propagate errors from `Commit::parents()`Martin von Zweigbergk committed 2 years ago0a758e7
  6. Refuse to split an empty commit with `jj split`.Alexander Potashev committed 2 years ago07559f2
  7. cli: parse out redundant "all:" revset modifier in arguments and templatesYuya Nishihara committed 2 years ago3307696
  8. templater: add tracking methods to remote RefNameYuya Nishihara committed 2 years ago8e4f755
  9. templater: wrap RefName with Rc to copy OnceCell aroundYuya Nishihara committed 2 years agoccabb11
  10. templater: extract remote-only RefName constructor as wellYuya Nishihara committed 2 years agocb0964b
  11. templater: extract trackable RefName constructorsYuya Nishihara committed 2 years agoe27421d
  12. templater: add helper method that unwraps Option<T> propertyYuya Nishihara committed 2 years agoc2c160f
  13. templater: remove IntoTemplate abstraction, use extension method insteadYuya Nishihara committed 2 years ago04063a0
  14. commit: add a helper for returning parent tree of `Commit`Martin von Zweigbergk committed 2 years agodbba2ed
  15. revset: support defining custom revset functionsdploch committed 2 years ago387ae9b
  16. revset: make RevsetParseContext opaquedploch committed 2 years ago4e0abf0
  17. templater: expose RefTarget methods through RefName typeYuya Nishihara committed 2 years ago4db068e
  18. templater: add RefName::local_only() constructorYuya Nishihara committed 2 years ago8abcbd6
  19. templater: store associated RefTarget in RefName structYuya Nishihara committed 2 years ago35e550e
  20. template: add contained_in method to commit object in templates this allows to conditionally display or label elements depending on whether the given commit is contained within the revsetNoah Mayr committed 2 years agodc693e7
  21. revset: add a SymbolResolverExtension trait to provide custom resolversdploch committed 2 years ago586ab1f
  22. templater: add type_name() method to tagged property typesYuya Nishihara committed 2 years ago5394f34
  23. templater: cache immutable revset fn globallyYuya Nishihara committed 2 years ago556747a
  24. cli_util: support multiple extensions consistentlydploch committed 2 years ago57a5d7d
  25. clippy: disable bogus lints for nightly clippyAustin Seipp committed 2 years ago4b45dde
  26. template: add method mine() to commit typeNoah Mayr committed 2 years ago2cf1c34
  27. templater: consolidate "unexpected expression" error constructorsYuya Nishihara committed 2 years ago76f3b80
  28. templater: introduce Formatter wrapper to switch strict/lax evaluationsYuya Nishihara committed 2 years ago71c2006
  29. revset, templater: render parse error as usual error chainYuya Nishihara committed 2 years ago2cd70bd
  30. commit_templater: make git_head return Option<RefName> instead of Vec<_>Yuya Nishihara committed 2 years agob363e69
  31. templater: remove unused context parameter from Template<C>Yuya Nishihara committed 2 years ago577e030
  32. commit_templater: teach elidable (or optional) commitYuya Nishihara committed 2 years ago2fc7feb
  33. templater: leverage TemplateProperty::map/and_then() helpersYuya Nishihara committed 2 years agofad7128
  34. formatter: use write!() or writeln!() thoroughly, remove .write_str()Yuya Nishihara committed 2 years ago00285be
  35. templater: remove Context type from TemplateLanguage/PropertyYuya Nishihara committed 2 years ago911cf4b