jj/cli
Essien Ita Essien bb018a54c3 next/prev: Add config flag to control prev/next edit behaviour.
* We started with a tristate flag where:
    - Auto - Maintain current behaviour. This edits if
      the wc parent is not a head commit. Else, it will
      create a new commit on the parent of the wc in
      the direction of movement.
    - Always - Always edit
    - Never - Never edit, prefer the new+squash workflow.
  However, consensus the review thread is that `auto` mode where we try to infer when to
  switch to `edit mode`, should be removed. So `ui.movement.edit` is a boolean flag now.
    - true: edit mode
    - false: new+squash mode
* Also add a `--no-edit` flag as the explicit inverse of `--edit` and
  ensure both flags take precedence over the config.
* Update tests that assumed edit mode inference, to specify `--edit` explicitly.

NOTE: #4302 was squashed into this commit, so see that closed PR for review history.

Part of #3947
2024-08-20 15:46:00 +01:00
..
examples working_copy: delete path() method from trait 2024-08-16 16:55:14 -07:00
src next/prev: Add config flag to control prev/next edit behaviour. 2024-08-20 15:46:00 +01:00
testing fake-formatter: add --uppercase and --append formatting behaviors 2024-07-25 13:40:18 -05:00
tests next/prev: Add config flag to control prev/next edit behaviour. 2024-08-20 15:46:00 +01:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml built-in pager: write a message to the user if pager failed to start 2024-08-03 17:45:18 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00