tests-clar/revwalk


Log

Author Commit Date CI Message
Carlos Martín Nieto 5cf7bccd 2012-03-03T17:25:05 revwalk: add test hiding a commit without a merge base Nothing should be hidden and this shouldn't bother the merge base calculation.
Carlos Martín Nieto de7ab85d 2012-03-03T03:31:51 Implement git_merge_base() It's implemented in revwalk.c so it has access to the revision walker's commit cache and related functions. The algorithm is the one used by git, modified so it fits better with the library's functions.
Carlos Martín Nieto 06b9d915 2012-02-28T02:19:57 revwalk: allow pushing/hiding a reference by name The code was already there, so factor it out and let users push an OID by giving it a reference name. Only refs to commits are supported. Annotated tags will throw an error.
Carlos Martín Nieto a4a910dd 2012-02-27T22:46:45 Simple test for pushing HEAD and hiding a branch
Carlos Martín Nieto f7367993 2012-02-27T22:22:45 revwalk: add convenience function to push/hide HEAD It's not unusual to want the walker to act on HEAD, so add a convencience function for the case that the user doesn't already have a resolved HEAD reference.
Carlos Martín Nieto f0fa1c1a 2012-02-27T22:00:49 Add revwalk glob test
Carlos Martín Nieto 8f7be6ca 2012-02-27T21:30:22 Move revwalk test to clar