Trust warning names a binary that does not exist, and prints twice #88
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A clone with no trusted keys warns on sync, as documented. The text is wrong in the same way
bf187d71fixed elsewhere:Two defects:
collab key add --selfis not a command. The binary isgit-collab.bf187d71fixed exactly this inprint_sync_summary("Run `collab sync --remote X`") and this instance was missed. A wrong command in a security-related instruction is worse than most, since the reader is being asked to take an action they may not already know how to take.Found while running a genuine two-clone round trip against the live server. Worth grepping for other occurrences of
'collabin user-facing strings rather than fixing these two — that is twice now that this specific mistake has surfaced in a different message.Context on the surrounding behaviour, which is correct: the warning fires because a fresh clone has no trusted keys and therefore accepts every valid signature. That is the documented design ("enough to get started, not enough to rely on"). The round trip confirmed both halves: alice, who has trusted keys, rejected a patch signed by an unknown key (
Rejecting patches 4c718907: … untrusted key) and accepted it afterkey add; bob, with no keys, accepted alice's review with this warning.Migrated from git-collab issue
a18e9b76461eb6311df6c79ed2d68afe2c6d788a.Original author: a73x dev@a73x.sh.
Close reason: merged in patch
81ce00d2