1. 29 Apr, 2014 1 commit
    • commit: safer commit creation with reference update · 217c029b
      The current version of the commit creation and amend function are unsafe
      to use when passing the update_ref parameter, as they do not check that
      the reference at the moment of update points to what the user expects.
      
      Make sure that we're moving history forward when we ask the library to
      update the reference for us by checking that the first parent of the new
      commit is the current value of the reference. We also make sure that the
      ref we're updating hasn't moved between the read and the write.
      
      Similarly, when amending a commit, make sure that the current tip of the
      branch is the commit we're amending.
      Carlos Martín Nieto committed
  2. 28 Apr, 2014 2 commits
  3. 27 Apr, 2014 1 commit
  4. 26 Apr, 2014 3 commits
  5. 25 Apr, 2014 6 commits
  6. 24 Apr, 2014 7 commits
  7. 23 Apr, 2014 9 commits
  8. 22 Apr, 2014 11 commits