forked from mirrors/jj
cli: remove stale comment about conditional template labeling
We can add boolean.then() for convenience, but it isn't strictly needed. label(if()) works fine.
This commit is contained in:
parent
2d8aa2d90e
commit
7e271347d0
1 changed files with 0 additions and 3 deletions
|
@ -1414,9 +1414,6 @@ fn cmd_status(
|
||||||
}
|
}
|
||||||
|
|
||||||
fn log_template(settings: &UserSettings) -> String {
|
fn log_template(settings: &UserSettings) -> String {
|
||||||
// TODO: define a method on boolean values, so we can get auto-coloring
|
|
||||||
// with e.g. `conflict.then("conflict")`
|
|
||||||
|
|
||||||
let committer_timestamp = if settings.relative_timestamps() {
|
let committer_timestamp = if settings.relative_timestamps() {
|
||||||
"committer.timestamp().ago()"
|
"committer.timestamp().ago()"
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue