Commit Graph

20 Commits

Author SHA1 Message Date
Carlos Martín Nieto
e8684471c0 Add ref shorthand function 2013-06-09 02:14:35 +02:00
Carlos Martín Nieto
042156d843 Bind ref name dwim 2013-06-07 17:55:16 +02:00
Carlos Martín Nieto
ac3d2d03fe Rename the ref record to geef_reference
Remove the access hacks for elixir and make :geef_reference an elixir
macro as well.
2013-06-05 21:22:25 +02:00
Carlos Martín Nieto
bd510de1e3 Also parse "done" lines
This works well for now, but if we're going to support
multi_ack_detailed at some point, we need a better way of parsing the
particular pkt.
2013-05-31 14:21:59 +02:00
Carlos Martín Nieto
75e3d5416c Better handling of flush, short lines 2013-05-28 17:57:45 +02:00
Carlos Martín Nieto
ecb7cdfc23 Parse protocol requests 2013-05-28 09:21:24 +02:00
Carlos Martín Nieto
03f43d3265 pkt: parse want and have lines 2013-05-27 12:55:04 +02:00
Carlos Martín Nieto
4a2f2e8ab2 Namespace the records
This makes it useful for users of the bindings. The naming is the same
as the module to allow elixir to treat the records in much the same
way as its native module/record hybrid.
2013-05-13 11:05:59 +02:00
Carlos Martín Nieto
cc8124a6b9 Accept an iolist in the revwalk 2013-05-12 15:02:54 +02:00
Carlos Martín Nieto
1077a055dc Remove geef_ref:target/1, use the record 2013-05-11 04:01:55 +02:00
Carlos Martín Nieto
1621871387 Simpify rm_r 2013-05-04 01:05:35 +02:00
Carlos Martín Nieto
3f4d51c0e1 Simple version of index_add 2013-05-03 23:42:49 +02:00
Carlos Martín Nieto
b420b61c19 Clean up after the repo tests 2013-05-02 19:40:01 +02:00
Carlos Martín Nieto
0aa11d8532 Allow creation of refs 2013-05-02 06:24:15 +02:00
Carlos Martín Nieto
353995a2da Properly stop the repo and revwalk servers
Return the 4-tuple when asked to stop instead of the 3-tuple so we do
indicate the stop was normal.
2013-04-10 20:11:07 +02:00
Carlos Martín Nieto
d0034b1142 Add a test for revwalk 2013-04-10 19:08:05 +02:00
Carlos Martín Nieto
8d7fbb1ec5 Add a couple more tests 2013-03-30 15:11:29 +01:00
Scott Chacon
abdd070a77 hex_to_raw actually works 2010-05-25 07:37:45 -07:00
Scott Chacon
d76f1e87f2 actually loading and running some libgit2 code 2010-05-24 17:09:32 -07:00
Scott Chacon
89c86150c8 skeleton nif that runs 2010-05-24 16:44:36 -07:00