File: null-bug.test

package info (click to toggle)
quilt 0.68-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,052 kB
  • sloc: sh: 6,102; perl: 1,273; lisp: 522; makefile: 436
file content (31 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (3)
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