• Show log

    Commit

  • Hash : d4fe402b
    Author : Patrick Steinhardt
    Date : 2019-08-08T10:36:33

    merge: check return value of `git_commit_list_insert`
    
    The function `git_commit_list_insert` dynamically allocates memory and
    may thus fail to insert a given commit, but we didn't check for that in
    several places in "merge.c".
    
    Convert surrounding functions to return error codes and check whether
    `git_commit_list_insert` was successful, returning an error if not.