ok/jj
1
0
Fork 0
forked from mirrors/jj

revset: delete obsolete comment about ambiguous change/commit ids

Commit ids and change ids or prefixes of either are never ambiguous
since we started using k-z for change ids.
This commit is contained in:
Martin von Zweigbergk 2023-04-30 14:30:39 -07:00 committed by Martin von Zweigbergk
parent 9cf0440aef
commit b11d38fdf8

View file

@ -1701,8 +1701,7 @@ pub fn resolve_symbol(
return Ok(ids);
}
// Try to resolve as a full commit id. We assume a full commit id is unambiguous
// even if it's shorter than change id.
// Try to resolve as a full commit id.
if let Some(ids) = resolve_full_commit_id(repo, symbol)? {
return Ok(ids);
}