• Show log

    Commit

  • Hash : 3e84aa50
    Author : Patrick Steinhardt
    Date : 2017-04-05T13:47:09

    repository: get worktree HEAD via `git_reference__read_head`
    
    The functions `git_repository_head_for_worktree` and
    `git_repository_detached_head_for_worktree` both implement their
    own logic to read the HEAD reference file. Use the new function
    `git_reference__read_head` instead to unify the code paths.