clearlinux / make-fmv-patch

MIT License
38 stars 7 forks source link

Generate single patch file for all files #7

Open zerodefect opened 5 years ago

zerodefect commented 5 years ago

If one envisages using the FMV patch generator as part of CMake (or any other build process), it would be of benefit to be able to generate a single .patch file for an entire project.

With a large project, I can generate a single log.txt file yet upon using the FMV generator, I would have an output of potentially many, many patch files. It would be terrific if the patch generator had an option to generate a single .patch file:

One concern may be that these files just may get very large, but considering that only a single line is added, this may not be a problem.

VictorRodriguez commented 5 years ago

Sounds like a good option to add

VictorRodriguez commented 5 years ago

@zerodefect giving a second thought I believe the current patch support that if we pass a log file with multiple files it could generate all the patches (one per file) right? So the request is that the script generates one patch instead of many?

zerodefect commented 5 years ago

Sorry @VictorRodriguez for some reason I missed the notification for your response. Yes, Correct. I'd like the script to generated a single patch file.

VictorRodriguez commented 5 years ago

shouldn't be that hard to make, let me take some time to work on it