Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patchlevel 1 -> 0, for Gentoo's unipatch
When applying patch files, Gentoo's unipatch will try patchlevel 0 first (using --dry-run) and then proceed through patchlevels 1, 2 etc. until it finds an error-free apply, at which point it commits the change. This normally works fine, where patches either only modify old files, or mix changes to old files with the creation of new ones. However, if you have a patch that just creates a file, by default this will come out of git format-patch at patchlevel 1, e.g.: /dev/null -> a/arch/arm/configs/novena_defconfig. If you let unipatch process this, it will succeed at patchlevel 0, and _create_ the directory 'a' in your target tree. Yuk. Migrate patchlevel to 0, to avoid this issue.
- Loading branch information