<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect2 SYSTEM "../../../dtd/dblite.dtd">

<sect2 lang="en" id="git-quiltimport(1)">
    <title>git-quiltimport(1)</title>
    <date>2024-07-02</date>
<revhistory><revision><date>2024-07-02</date></revision></revhistory>
<indexterm>
<primary>git-quiltimport(1)</primary>
</indexterm>
<simplesect id="git-quiltimport(1)__name">
<title>NAME</title>
<simpara>git-quiltimport - Applies a quilt patchset onto the current branch</simpara>
</simplesect>
<simplesect id="git-quiltimport(1)__synopsis">
<title>SYNOPSIS</title>
<blockquote>
<literallayout><emphasis>git quiltimport</emphasis> [--dry-run | -n] [--author &lt;author&gt;] [--patches &lt;dir&gt;]
                [--series &lt;file&gt;] [--keep-non-patch]</literallayout>
</blockquote>
</simplesect>
<simplesect id="git-quiltimport(1)__description">
<title>DESCRIPTION</title>
<simpara>Applies a quilt patchset onto the current Git branch, preserving
the patch boundaries, patch order, and patch descriptions present
in the quilt patchset.</simpara>
<simpara>For each patch the code attempts to extract the author from the
patch description.  If that fails it falls back to the author
specified with --author.  If the --author flag was not given
the patch description is displayed and the user is asked to
interactively enter the author of the patch.</simpara>
<simpara>If a subject is not found in the patch description the patch name is
preserved as the 1 line subject in the Git description.</simpara>
</simplesect>
<simplesect id="git-quiltimport(1)__options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
-n
</term>
<term>
--dry-run
</term>
<listitem>
<simpara>
        Walk through the patches in the series and warn
        if we cannot find all of the necessary information to commit
        a patch.  At the time of this writing only missing author
        information is warned about.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--author <emphasis>Author Name &lt;Author Email&gt;</emphasis>
</term>
<listitem>
<simpara>
        The author name and email address to use when no author
        information can be found in the patch description.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--patches &lt;dir&gt;
</term>
<listitem>
<simpara>
        The directory to find the quilt patches.
</simpara>
<simpara>The default for the patch directory is <emphasis>patches</emphasis>
or the value of the <emphasis>$QUILT_PATCHES</emphasis> environment
variable.</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--series &lt;file&gt;
</term>
<listitem>
<simpara>
        The quilt series file.
</simpara>
<simpara>The default for the series file is &lt;patches&gt;/series
or the value of the <emphasis>$QUILT_SERIES</emphasis> environment
variable.</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--keep-non-patch
</term>
<listitem>
<simpara>
        Pass <emphasis>-b</emphasis> flag to <emphasis>git mailinfo</emphasis> (see <xref linkend="git-mailinfo(1)" />).
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="git-quiltimport(1)__git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
</simplesect>
</sect2>
