Old kernel/userspace workflow ingestion.
Import a Quilt patch series into Git history, one commit per patch. Old kernel and userspace projects ship code this way and this is the clean ingestion path.
Read the series file, apply each listed patch in order, and create one Git commit per patch with the patch headers as the commit message. A scripted replay of quilt push.
git quiltimport [--author <author>] [--patches <dir>]
[--series <file>] [--keep-non-patch]
Run inside an existing Git repo. Defaults: --patches patches/ and
--series patches/series. Each non-comment line in the series file
names a patch file relative to the patches dir; each is applied and
committed in order.| Flag | What it does |
|---|---|
--author <author> | Override the author when a patch lacks a From: header. Format: 'Name <email>'. |
--patches <dir> | Directory holding the patch files; defaults to patches/ under the current dir. |
--series <file> | Path to the series file; defaults to <patches-dir>/series. |
--keep-non-patch | Keep the [PATCH] prefix and similar bracket tags in the imported commit subject. |
--dry-run | Walk the series file and validate without creating any commits. |
git quiltimportgit quiltimport --patches debian/patches --series debian/patches/seriesgit quiltimport --author 'Alice <alice@127.0.0.1>'git quiltimport --dry-runHit each option, then Check answers. Score is recorded; Next is always open.