make-fmv-patch icon indicating copy to clipboard operation
make-fmv-patch copied to clipboard

Generate single patch file for all files

Open zerodefect opened this issue 7 years ago • 4 comments

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:

  • Easier to share a patch for a large project with ohers
  • Easier to manage on a few levels (ie. no recursing through directory structures).

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.

zerodefect avatar Jan 18 '19 14:01 zerodefect

Sounds like a good option to add

VictorRodriguez avatar Jan 18 '19 16:01 VictorRodriguez

@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?

VictorRodriguez avatar Jan 30 '19 14:01 VictorRodriguez

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.

zerodefect avatar Aug 01 '19 14:08 zerodefect

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

VictorRodriguez avatar Aug 01 '19 14:08 VictorRodriguez