• Show log

    Commit

  • Hash : f99ca523
    Author : Carlos Martín Nieto
    Date : 2014-06-30T06:38:45

    stash: use a transaction to modify the reflog The stash is implemented as the refs/stash reference and its reflog. In order to modify the reflog, we need avoid races by making sure we're the only ones allowed to modify the reflog. We achieve this via the transactions API. Locking the reference gives us exclusive write access, letting us modify and write it without races.