blob: 223706c2d7b792ac7c15240c944081b04fb5b89f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$ mkdir patches
$ echo file > file
$ quilt new remove.diff
> Patch %{P}remove.diff is now on top
$ quilt add file
> File file added to patch %{P}remove.diff
In this case, the original file in the --- line must not have .orig appended
or else patch won't know the real original filename anymore.
$ rm -f file
$ quilt diff -p0
> Index: file
> ===================================================================
> --- file
> +++ /dev/null
> @@ -1 +0,0 @@
> -file
$ quilt refresh -p0
> Refreshed patch %{P}remove.diff
$ quilt pop -q
> Removing patch %{P}remove.diff
> No patches applied
$ quilt push -q
> Applying patch %{P}remove.diff
> Now at patch %{P}remove.diff
|