• Show log

    Commit

  • Hash : e02478b1
    Author : Patrick Steinhardt
    Date : 2020-06-05T08:17:03

    refdb: extract function to check whether a reflog should be written The logic to determine whether a reflog should be written is non-trivial. Currently, the only user of this is the filesystem-based refdb, but with the advent of the reftable refdb we're going to add a second user that's interested in having the same behaviour. Let's pull out a new function that checks whether a given reference should cause a reflog to be written as a preparatory step.