You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
It's trying to read the vim swapfile as a patch. I think we'd be pretty safe to apply unix tradition and ignore filenames that start with a dot. We could even explicitly filter only that with particular file extensions, in case people want to put e.g. a readme in the patch directory.
The text was updated successfully, but these errors were encountered:
I think some kind of patch filename format would be the winner and exclude everything else. (This breaks with me with Emacs backup files with names like *~.)
At the moment it's doing a fs.readdir() which grabs all files in the directory and then checks the filename matches /-(\d+)-(\d+)\.sql$/. Instead, perhaps it should just glob on prefix-*-*.sql and allow you to specify prefix which defaults to patch.
If I try to run the patcher while I've got a patch file open in vim, I get this error:
It's trying to read the vim swapfile as a patch. I think we'd be pretty safe to apply unix tradition and ignore filenames that start with a dot. We could even explicitly filter only that with particular file extensions, in case people want to put e.g. a readme in the patch directory.
The text was updated successfully, but these errors were encountered: