• Show log

    Commit

  • Hash : de4bc2bd
    Author : Max Kostyukevich
    Date : 2019-08-20T03:29:45

    apply: git_apply_to_tree fails to apply patches that add new files git_apply_to_tree() cannot be used apply patches with new files. An attempt to apply such a patch fails because git_apply_to_tree() tries to remove a non-existing file from an old index. The solution is to modify git_apply_to_tree() to git_index_remove() when the patch states that the modified files is removed.