summaryrefslogtreecommitdiffstats
path: root/test/refresh-z.test
blob: 0916e6f4724fe6b129096b9169b15b61da5a8b8a (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
	$ mkdir patches

	$ quilt new test.diff
	> Patch patches/test.diff is now on top

	$ quilt add foo
	> File foo added to patch patches/test.diff

	$ echo foo > foo
	$ quilt refresh
	> Refreshed patch patches/test.diff

	$ echo bar >> foo
	$ quilt refresh -z
	> Fork of patch patches/test.diff created as patches/test-2.diff

	$ echo baz >> foo
	$ quilt refresh -zbaz.diff
	> Fork of patch patches/test-2.diff created as patches/baz.diff

	$ quilt series
	> patches/test.diff
	> patches/test-2.diff
	> patches/baz.diff