blob: 4d63a4b91e976de778b3edc6ceeeed8ba9f8e801 (
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
|
$ mkdir d
$ cd d
$ echo a > a
$ quilt new test.diff
> Patch patches/test.diff is now on top
$ quilt add a
> File a added to patch patches/test.diff
$ echo "a " > a
$ quilt refresh
> Warning: patches/test.diff adds trailing whitespace
> Refreshed patch patches/test.diff
$ grep '[ \t]$' patches/test.diff
> +a
$ quilt refresh --strip-trailing-whitespace
> Refreshed patch patches/test.diff
$ grep '[ \t]$' patches/test.diff
$ cd ..
$ rm -rf d
|