forked from mirrors/jj
d6e97883df
This implements a building block of "signed-off-by line" #1399 and "commit --verbose" #1946. We'll probably need an easy way to customize the diff part, but I'm not sure if it can be as simple as a template alias function. User might want to embed diffs without "JJ: " prefixes? Perhaps, we can deprecate "ui.default-description", but it's not addressed in this patch. It could be replaced with "default_description" template alias, but we might want to configure default per command. Suppose we add a default "backout_description" template, it would have to be rendered against the source commit, not the newly-created backout commit. The template key is named as "draft_commit_description" because it is the template to generate an editor template. "templates.commit_description_template" sounds a bit odd. There's one minor behavior change: the default description is now terminated by "\n". Closes #1354 |
||
---|---|---|
.. | ||
design | ||
technical | ||
branches.md | ||
cli-reference.md | ||
code-of-conduct.md | ||
community_tools.md | ||
config.md | ||
config.toml | ||
conflicts.md | ||
contributing.md | ||
design_doc_blueprint.md | ||
design_docs.md | ||
FAQ.md | ||
filesets.md | ||
git-comparison.md | ||
git-compatibility.md | ||
github.md | ||
glossary.md | ||
index.md | ||
install-and-setup.md | ||
operation-log.md | ||
related-work.md | ||
revsets.md | ||
sapling-comparison.md | ||
templates.md | ||
testimonials.md | ||
tutorial.md | ||
windows.md | ||
working-copy.md |