jj/cli
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
..
examples examples: use settings_for_new_workspace() when initializing workspace 2025-01-06 21:15:28 +09:00
src cli: config list: show origin of config values 2025-03-13 23:59:45 +00:00
testing merge_tools: add "$marker_length" variable 2024-12-23 08:42:10 -06:00
tests git: detect remote refusal of a push 2025-03-14 08:09:37 +00:00
build.rs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
Cargo.toml tests: move gitoxide test helpers to testutils 2025-02-20 06:13:20 +00:00
docs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00