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:
Yuya Nishihara 2023-02-14 13:30:42 +09:00
parent 2d8aa2d90e
commit 7e271347d0

View file

@ -1414,9 +1414,6 @@ fn cmd_status(
}
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() {
"committer.timestamp().ago()"
} else {