jj/lib
Baltasar Dinis 4e5260dad2 git: detect remote refusal of a push
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.
2025-03-14 08:09:37 +00:00
..
benches style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
gen-protos cargo: inherit lints configuration from workspace 2024-10-04 22:29:13 +02:00
proc-macros style: remove useless uses of .iter() 2024-10-04 22:29:13 +02:00
src git: detect remote refusal of a push 2025-03-14 08:09:37 +00:00
tests git: use translated remote symbols in import_refs() 2025-03-12 02:20:00 +00:00
testutils git: update gitoxide repository options 2025-03-10 15:08:38 +00:00
Cargo.toml lib: remove use of zstd 2025-01-08 22:02:21 +00:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00