null-bug.test
来自「linux下各种patch的管理工具」· TEST 代码 · 共 37 行
TEST
37 行
$ rm -rf d $ mkdir -p d/patches $ cd d $ echo file > file $ quilt new remove.diff > Patch patches/remove.diff is now on top $ quilt add file > File file added to patch patches/remove.diffIn this case, the original file in the --- line must not have .orig appendedor 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 patches/remove.diff $ quilt pop -q > Removing patch patches/remove.diff > No patches applied $ quilt push -q > Applying patch patches/remove.diff > Now at patch patches/remove.diff $ cd .. $ rm -r d
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?