Re: [PATCH] am: add --check option
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jun 3, 2019, 21:09 UTC
- Message-ID
- <34b269e6-0172-42a3-b7b0-f0c7751007a4@kdbg.org>
- In-Reply-To
- <20190603142523.3826-1-sir@cmpwn.com>
Am 03.06.19 um 16:25 schrieb Drew DeVault:
> +--check:: > + Instead of applying the patch(es), see if they are > + applicable to the current working tree and/or the index > + file and detects errors.
I have to wonder how --check works when 'am' applies multiple patches.
When the second patch in a patch series depends on that the first patch is fully applied, what does --check do? Without the first patch applied, then a naive check of the second patch will certainly fail, doesn't it?
-- Hannes