cli: fix typo in comment

This commit is contained in:
George Tsiamasiotis 2024-12-19 17:13:39 +02:00 committed by Martin von Zweigbergk
parent 9ea329f03f
commit 79421c6685

View file

@ -556,7 +556,7 @@ impl CommandHelper {
/// Returns true if the current operation is considered to be the head. /// Returns true if the current operation is considered to be the head.
pub fn is_at_head_operation(&self) -> bool { pub fn is_at_head_operation(&self) -> bool {
// TODO: should we accept --at-op=<head_id> as the head op? or should we // TODO: should we accept --at-op=<head_id> as the head op? or should we
// make --at-op=@ imply --ignore-workign-copy (i.e. not at the head.) // make --at-op=@ imply --ignore-working-copy (i.e. not at the head.)
matches!( matches!(
self.data.global_args.at_operation.as_deref(), self.data.global_args.at_operation.as_deref(),
None | Some("@") None | Some("@")