Re: [PATCH 0/2] am: support --always option to am empty commits
- From
René Scharfe <l.s.r@web.de>
- Date
- Nov 12, 2021, 06:17 UTC
- Message-ID
- <6da5e984-1dcf-4c55-976c-49ffb8d128bf@web.de>
- In-Reply-To
- <pull.1076.git.1636693095.gitgitgadget@gmail.com>
Am 12.11.21 um 05:58 schrieb Aleen via GitGitGadget:
> Since that git has supported the --always option for the git-format-patch > command to create a patch with empty commit message, git-am should support > applying and committing with empty patches.
The symmetry is compelling, but "always" is quite generic. I can see e.g. someone expecting "git am --always" to imply --keep-non-patch.
git commit and cherry-pick have --allow-empty, which is (a bit) more specific. That seems to me a better option name to copy for a commit- creating command like git am.
René