Michael Schubert
4e323ef0a8
revwalk: refuse push of non-commit objects
...
Check the type of the pushed object immediately instead of starting the
walk and failing in between.
2012-08-27 11:52:32 +02:00
nulltoken
5b07111529
tests: add test commit with angle brackets in the author name
2012-07-11 20:40:12 +02:00
Vicent Martí
e172cf082e
errors: Rename the generic return codes
2012-05-18 01:26:26 +02:00
Carlos Martín Nieto
5cf7bccd2b
revwalk: add test hiding a commit without a merge base
...
Nothing should be hidden and this shouldn't bother the merge base
calculation.
2012-04-12 20:25:25 +02:00
Carlos Martín Nieto
06b9d91590
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.
2012-04-12 20:25:24 +02:00
Carlos Martín Nieto
a4a910dd9c
Simple test for pushing HEAD and hiding a branch
2012-02-27 22:46:45 +01:00
Carlos Martín Nieto
f7367993cb
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.
2012-02-27 22:26:37 +01:00
Carlos Martín Nieto
f0fa1c1a73
Add revwalk glob test
2012-02-27 22:07:20 +01:00
Carlos Martín Nieto
8f7be6ca8a
Move revwalk test to clar
2012-02-27 21:38:22 +01:00