quilt(1) General Commands Manual quilt(1) (NAME) quilt - (SYNOPSIS) quilt [--quiltrc file] [--trace] command [options] quilt [command] -h quilt --version (DESCRIPTION) Quilt . . . quilt . . CVS Subversion Git quilt "quilt command" . () . command quilt . "-h" . Quilt . . ("quilt push") ("quilt pop"). ("quilt applied" "quilt previous" "quilt top") ("quilt next" "quilt unapplied") . . patches ( Example of working tree FILES ). QUILT_PATCHES () . ( Git ). patches . . Quilt series . QUILT_SERIES () . series "quilt series" . . patches . series (#) . (strip level) . patch(1) ( "-p2"). Quilt . 1 (strip level 1) . . quilt series . quilt series . series quilt . series ( ) . .pc/patch-name patch-name ( fix-buffer-overflow.patch). (.pc/applied-patches) . ("quilt refresh") .pc/patch-name GNU diff(1) . ("quilt new") series . ("quilt edit"). ("quilt diff") "quilt refresh" . ("quilt header"). Quilt . ( GNU Diffutils .) series .pc patches . series . . series patches . .pc . . . .pc . add [-P patch] {file} ... . . . -P patch . annotate [-P patch] {file} . . -P patch . applied [patch] series. delete [-r] [--backup] [patch|-n] series. quilt . ( .) -n . -r patches . --backup patch~ . `-r' . diff [-p n|-p ab] [-u|-U num|-c|-C num] [--combine patch|-z] [-R] [-P patch] [--snapshot] [--diff=utility] [--no-timestamps] [--no-index] [--sort] [--color[=always|auto|never]] [file ...] diff () . . -p n -p n ( -p0 -p1 ). -p ab -p1 a/file b/file dir.orig/file dir/file. -u, -U num, -c, -C num diff (-u, -U) num (context). diff (-c, -C) num . . --no-timestamps (timestamps) . --no-index Index: . -z . -R diff . -P patch diff . ( .) --combine patch diff -P. `-' . --snapshot diff snapshot ( `quilt snapshot -h' ). --diff=utility diff. . --color[=always|auto|never] ( auto tty ). --sort . edit file ... () $EDITOR () . files [-v] [-a] [-l] [--combine patch] [patch] . -a . -l . -v . --combine patch . `-' . fold [-R] [-q] [-f] [-p strip-level] : (strip level) ( ) . -R . -q . -f (rejects) . : patch . -p strip-level (pathname components) . fork [new_name] (fork) . series . series . : fork edit refresh. new_name `-2' . ( patch.diff patch-2.diff patch-3.diff). graph [--all] [--reduce] [--lines[=num]] [--edge-labels=files] [-T ps] [patch] dot(1) . --lines . . . . --all . ( .) --reduce (transitive edges) . --lines[=num] . num ..IP " --edge-labels=files" 8 . -T ps PostScript. grep [-h|options] {pattern} grep quilt. . grep(1) . -h . -h grep (--) . (-- --) . header [-a|-r|-e] [--backup] [--strip-diffstat] [--strip-trailing-whitespace] [patch] . -a, -r, -e (-a) (-r) (-e) $EDITOR. . --strip-diffstat diffstat . --strip-trailing-whitespace . --backup patch~. import [-p num] [-R] [-P patch] [-f] [-d {o|a|n}] patchfile ... . (push) . -p num (=1) -R . -P patch quilt. . -f / . -d {o|a|n} (o) (a) (n). . -f . mail {--mbox file|--send} [-m text] [-M file] [--prefix prefix] [--sender ...] [--from ...] [--to ...] [--cc ...] [--bcc ...] [--subject ...] [--reply-to message] [--charset ...] [--signature file] [first_patch [last_patch]] series mailbox . . /usr/share/doc/quilt/README.MAIL . "-" "-" series . -m text . . -M file -m file . --prefix prefix (subjects) . "patch" . --mbox file mbox. mbox formail . --send . --sender (envelope sender) . "user@domain.name" . (display name) . --from, --subject From Subject. --from --sender . --to, --cc, --bcc To Cc Bcc. --charset UTF-8 ISO-8859-15 . . --signature file ( ~/.signature "-" ). --reply-to message . new [-p n] {patchname} . . -p n -p n ( -p0 -p1 ). Quilt . . quilt . next [patch] series. patches [-v] [--color[=always|auto|never]] {file} [files...] . ( . .) -v . --color[=always|auto|never] ( auto tty ). pop [-afRqv] [--refresh] [num|patch] () . . . . patches/ . -a . -f . () . -R . -q . -v ( ). --refresh ..IP "previous [patch] " 4 series. push [-afqvm] [--fuzz=N] [--merge[=merge|diff3]] [--leave-rejects] [--color[=always|auto|never]] [--refresh] [num|patch] () series. series . . . patches/ (filename completion) . -a series. -q . -f (rejects) . -v ( ). --fuzz=N (fuzz factor) (: 2). -m, --merge[=merge|diff3] (: patch(1)). --leave-rejects patch . --color[=always|auto|never] ( auto tty ). --refresh . refresh [-p n|-p ab] [-u|-U num|-c|-C num] [-z[new_name]] [-f] [--no-timestamps] [--no-index] [--diffstat] [--sort] [--backup] [--strip-trailing-whitespace] [patch] . . . . -f . (shadowed) . -p n -p n ( -p0 -p1). -p ab -p1 a/file b/file dir.orig/file dir/file. -u, -U num, -c, -C num diff (unified diff) (-u -U) num (context). diff (context diff) (-c -C) num . . -z[new_name] . `-2' . ( fork .) --no-timestamps (timestamps) . --no-index :Index . --diffstat diffstat diffstat . -f . --backup patch~. --sort . --strip-trailing-whitespace . remove [-P patch] {file} ... . . -P patch . rename [-P patch] new_name . -P patch . revert [-P patch] {file} ... () : 'quilt diff -z' . . -P patch . series [--color[=always|auto|never]] [-v] series. --color[=always|auto|never] ( auto tty ). -v . setup [-d path-prefix] [-v] [--sourcedir dir] [--fuzz=N] [--spec-filter FILTER] [--slow|--fast] {specfile|seriesfile} (source tree) rpm spec quilt series. -d . --sourcedir . `.' . -v (verbose debug). --fuzz=N ( rpm 4.6 ). --spec-filter FILTER spec rpmbuild . FILTER spec stdin spec stdout . FILTER quilt . --slow spec. rpmbuild . --fast spec. rpmbuild . ( 0.67 quilt ). setup spec %prep . quilt . %prep (push) . %prep tarball . "quilt setup" ..IP "snapshot [-d] " 4 (snapshot) . snapshot (push) (pop) . (diff) snapshot `quilt diff --snapshot' . -d snapshot . top . unapplied [patch] series . upgrade quilt . quilt . quilt `quilt upgrade' . (OPTIONS) quilt . -h ( command quilt) . --quiltrc file file ~/.quiltrc ( /etc/quilt.quiltrc ~/.quiltrc ). "-" quilt . --trace (-x) . --version . (EXIT STATUS) 0 1 . 2 quilt . quilt (push) push pop pop . quilt . (ENVIRONMENT) Quilt : EDITOR "quilt edit" "quilt header -e". LESS (pager) less(1) . "-FRSX" . (FILES) (Example of working tree) project-1.2.3/ patches/ | series (list of patches to apply) | patch1.diff (one particular patch) | patch2.diff | ... .pc/ | .quilt_patches (content of QUILT_PATCHES) | .quilt_series (content of QUILT_SERIES) | patch1.diff/ (copy of patched files) | | ... | patch2.diff/ | | ... | ... ... patches . .pc . . patches ( ). quilt "--quiltrc" .quiltrc /etc/quilt.quiltrc . bash(1) . EDITOR LESS ENVIRONMENT . QUILT_COMMAND_ARGS quilt ( ) . QUILT_DIFF_ARGS="--color=auto" "quilt diff" . QUILT_DIFF_OPTS quilt GNU diff . C "-p" GNU diff . QUILT_PATCH_OPTS quilt GNU patch . GNU patch "--reject-format=unified" "unified diff" ( patch "--unified-reject-files" ). quilt "-E" . GNU patch " " patch POSIX patch "-E" . "-E" patch quilt "-E" . QUILT_DIFFSTAT_OPTS quilt diffstat(1) . "-f0" . diffstat ("-r1" "-r2") . QUILT_PC quilt. ".pc" . QUILT_PATCHES patches. QUILT_SERIES (series) series. . QUILT_PATCHES_PREFIX quilt (QUILT_PATCHES) . QUILT_NO_DIFF_INDEX "Index:" quilt . "--no-index" QUILT_DIFF_ARGS QUILT_REFRESH_ARGS . QUILT_NO_DIFF_TIMESTAMPS . "--no-timestamps" QUILT_DIFF_ARGS QUILT_REFRESH_ARGS . QUILT_PAGER quilt . GIT_PAGER PAGER . "less -R" . . QUILT_COLORS quilt ANSI . ( ) bold reverse . QUILT_COLORS (:) "format-name=digit-sequence[;...]". . digit-sequence SGR ( Select Graphic Rendition) . SGR ANSI ISO-6429 ECMA-48 (
8.3.117) . ( ) . format-name quilt : +-------------------------------------------------------------------------------------------------------------------------------------+ |format-name | +-------------------------------------------------------------------------------------------------------------------------------------+ |diff_add diff 36 () | |diff_cctx diff 33 () | |diff_ctx diff 35 () | |diff_hdr diff 32 () | |diff_hunk diff 33 () | |diff_mod diff 35 () | |diff_rem diff 35 () | |patch_fail push 31 () | |patch_fuzz push (fuzz) 35 () | |patch_offs push 33 () | |series_app series 32 () | |series_top series 33 () | |series_una series 0 () | +-------------------------------------------------------------------------------------------------------------------------------------+ format-name series patches . format-name "clear" . ANSI . "tput sgr0" ..IP ~/.quiltrc ( /etc/quilt.quiltrc) : QUILT_DIFF_ARGS="--color" # Render diff file headers in bold blue over yellow. # Render diff hunk headers in "negative image" yellow. # Render failed patches with a red background. QUILT_COLORS="diff_hdr=1;34;43:diff_hunk=7;33:patch_fail=41" (AUTHORS) Quilt Andrew Morton (patch-scripts). Andrew Andreas Grunbacher ( AUTHORS ). Martin Quinson PDF . (EXAMPLES) PDF ( (SEE ALSO) ) . (SEE ALSO) How to Survive with Many Patches, or: Introduction to Quilt /usr/share/doc/quilt/quilt.pdf . . zxpdf(1) PDF . Diffutils Comparing and Merging Files diff patch . Control Functions for Coded Character Sets (ECMA-48) ANSI QUILT_COLORS 8.3.117 . console_codes(4) . diff(1), diffstat(1), guards(1), patch(1) quilt December 17, 2013 quilt(1)