http://www.perlmonks.org?node_id=931814


in reply to Re: OT: Does anyone know of a version control system that doesn't use separate files or a repo?
in thread OT: Does anyone know of a version control system that doesn't use separate files or a repo?

I see that you have a loop to allow multiple files to be processed, but in the implicit commit code if there is no change in a file the script exits without processing any remaining files (if ($diff eq '') {print "No changes. Exiting.\n"; exit;}). Is that intended behaviour? Printing the name of the unchanged file then skipping to the next file is probably more appropriate.

True laziness is hard work
  • Comment on Re^2: OT: Does anyone know of a version control system that doesn't use separate files or a repo?
  • Download Code