• Show log

    Commit

  • Hash : 987f5659
    Author : Patrick Steinhardt
    Date : 2017-04-04T17:12:22

    repository: extract function to get path to a file in a work tree
    
    The function `read_worktree_head` has the logic embedded to construct
    the path to `HEAD` in the work tree's git directory, which is quite
    useful for other callers. Extract the logic into its own function to
    make it reusable by others.