• Show log

    Commit

  • Hash : 5b65ac25
    Author : Patrick Steinhardt
    Date : 2017-04-05T10:43:18

    refs: implement function to read references from file
    
    Currently, we only provide functions to read references directly from a
    repository's reference store via e.g. `git_reference_lookup`. But in
    some cases, we may want to read files not connected to the current
    repository, e.g. when looking up HEAD of connected work trees. This
    commit implements `git_reference__read_head`, which will read out and
    allocate a reference at an arbitrary path.