mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
When we push a ref to a git remote, we use --force-with-lease Our understanding was that this could fail iff the expected location of the ref on the remote was not that of the local tracking ref However, if the ref is from a protected branch (e.g., main) it will be rejected by the remote for a different reason. This commit solves this, by detecting this difference. |
||
|---|---|---|
| .. | ||
| benches | ||
| gen-protos | ||
| proc-macros | ||
| src | ||
| tests | ||
| testutils | ||
| Cargo.toml | ||
| LICENSE | ||