Michael Olson <[EMAIL PROTECTED]> writes:

>  - If they are the same, call the VCS-specific apply tool and done.
>  - Otherwise:
>    - Extract log message and patch (in diff -u form).
>    - Apply patch using "patch" command, piping output to it.

In the particular case of git, I think "git apply" works also outside
a git repository, so you can "git apply", extract log message, and
$VCS commit.

("git apply" manages a bit more things, like renames, executable bit,
and binary patch, that "patch" does)

-- 
Matthieu

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to