]> git.ipfire.org Git - thirdparty/git.git/commit
docs: address inaccurate `--empty` default with `--exec`
authorBrian Lyles <brianmlyles@gmail.com>
Mon, 25 Mar 2024 23:16:48 +0000 (18:16 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2024 23:45:40 +0000 (16:45 -0700)
commit0af38890ade347536af7690ecee9e5e75d1b2b12
treec81f9abb06a7383a07497836f349021e0728400f
parente09f1254c54329773904fe25d7c545a1fb4fa920
docs: address inaccurate `--empty` default with `--exec`

The documentation for git-rebase(1) indicates that using the `--exec`
option will use `--empty=drop`. This is inaccurate: when `--interactive`
is not explicitly provided, `--exec` results in `--empty=keep`
behaviors.

Correctly indicate the behavior of `--exec` using `--empty=keep` when
`--interactive` is not specified.

Reported-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Brian Lyles <brianmlyles@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt
t/t3424-rebase-empty.sh