I am having problems to generate a patch with a new empty file.
Here's a test case that exhibits the problem in quilt.
The message "Nothing in patch test.diff" is was gets printed instead
of "Refreshed..."
$ mkdir -p d/patches
$ cd d
$ quilt new test.diff
> Patch test.diff is now on top
$ quilt add file.txt
> File file.txt added to patch test.diff
$ touch file.txt
$ quilt refresh
> Refreshed patch test.diff
# $ quilt diff
$ cd ..
$ rm -rf d
The problem lies in the inability for diff to generate a diff for new
empty files (used in diff_file in patchfns):
rm file.txt
touch file.txt
diff /dev/null file.txt
produces nothing.
Any idea?
Jerome
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev