mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-21 06:52:11 +01:00
Normally, all resources (like the hg process) will be released after the stream of the diff. But this may lead to errors, when DiffCommandBuilder#getContent is used and other commands are used afterwards. So with this we introduce a new interface method in the DiffCommand that can be implemented without closing resources. This method is used for the computation of the diff as string. We use this to distinguish between the computation of diffs as a stream like in rest calls, and the computation as a single string result that may we followed by other commands using the same context.
Plugins moved see https://github.com/scm-manager/scm-manager/blob/develop/docs/scm-plugins.md for details.