Search code examples
patchquilt

quilt patch with a new file


I'm trying to create a new quilt patch with only one file added. Unfortunately the file seems to be ignored.

I did quilt new some_patch and quilt add some_file. I can see the file in quilt files then, but when I refresh, I get back:

Nothing in patch some_patch

After I pop some_patch, the added file is not removed and nothing is actually saved into the patch (patch file is not created).

What am I doing wrong here?


Solution

  • You have to add the file to quilt first, before writing it. So that quilt can track the difference. If you add it after writing it, there is no change after that.