summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-04Merge remote-tracking branch 'libgit/master' into branch-iteratorJesse Ezell
2014-04-04merge latest, copy merge bytes to go arrayJesse Ezell
2014-04-04adjust comments on error messages to standard godoc styleJesse Ezell
2014-04-03fix for travisciAidan Nulman
2014-04-03update for upstream changesAidan Nulman
2014-04-03Merge branch 'master' into custom_odbAidan Nulman
Conflicts: odb.go wrapper.c
2014-04-03explicit returnsAidan Nulman
2014-04-02make it possible to handle errorsJesse Ezell
2014-04-01Remote: The whole point of the anonymous changeCarlos Martín Nieto
Was that it would break and we'd remember that the order changed. Oh well.
2014-04-01Merge pull request #77 from jezell/inmemory-to-anonCarlos Martín Nieto
rename inmemory to anonymous remote
2014-04-01rename inmemory to anonymous remoteJesse Ezell
2014-04-01Merge pull request #73 from libgit2/cmn/settingsCarlos Martín Nieto
Add a settings package
2014-04-01Merge pull request #75 from jezell/add-conflict-to-indexCarlos Martín Nieto
Add index conflict functions
2014-04-01Adjust to Go tip changesCarlos Martín Nieto
It does not like breaking aliasing rules, so let's keep a casted pointer for when libgit2 wants that.
2014-04-01Merge pull request #76 from jezell/walk-enhancementsCarlos Martín Nieto
Add missing walk functions
2014-03-31Merge pull request #74 from fd/masterCarlos Martín Nieto
Added force argument for (*Submodule).Reload() and (*Repository).ReloadAllSubmodules()
2014-03-30add conflict functionsJesse Ezell
2014-03-30add missing walk functionsJesse Ezell
2014-03-27Added force argument for (*Submodule).Reload() and ↵Simon Menke
(*Repository).ReloadAllSubmodules()
2014-03-26Merge analysis and merge fileJesse Ezell
2014-03-26fix go 1.0 compile errorJesse Ezell
2014-03-26support nil merge optionsJesse Ezell
2014-03-26update to new merge APIJesse Ezell
2014-03-26Merge branch 'master' of http://github.com/libgit2/git2go into mergeJesse Ezell
2014-03-25Add a settings packageCarlos Martín Nieto
This lets us modify the libgit2-wide options/settings.
2014-03-21don't expose 3 different diff foreach methods. use structures instead of ↵Jesse Ezell
pointers to structures for diff detail. add patch error code handling. trim excess data from diff structures.
2014-03-21Allow diff.ForEach to enumerate files, hunks, and lines with single call. ↵Jesse Ezell
Support use of closures for enumeration.
2014-03-20set ptr to nil after freeJesse Ezell
2014-03-20refactor and cleanup codeJesse Ezell
2014-03-20merge with latestJesse Ezell
2014-03-20cleanup and refactor diff / patchJesse Ezell
2014-03-21Merge pull request #71 from jezell/add-index-write-tree-toCarlos Martín Nieto
Add index WriteTreeTo + test
2014-03-21Merge pull request #70 from jezell/add-remote-listCarlos Martín Nieto
Add git_remote_list + test
2014-03-20Add index WriteTreeTo + testJesse Ezell
2014-03-20return nil instead of empty array on errorJesse Ezell
2014-03-20add remote listJesse Ezell
2014-03-20remove channel based iteration for branch / ref. Add ReferenceNameIterator. ↵Jesse Ezell
All iterators use Next(). Remove interfaces.
2014-03-19various improvements to interfaceJesse Ezell
2014-03-20Remote: remove Get prefix from refspecsCarlos Martín Nieto
Idiomatic Go is to omit the Get from the getter methods.
2014-03-19split out name iteratorJesse Ezell
2014-03-19remove Branch struct, unify reference iteratorsJesse Ezell
2014-03-19Clean up after the testsCarlos Martín Nieto
2014-03-19Remote: don't mix allocatorsCarlos Martín Nieto
We cannot ask libgit2 to free the memory we have allocated ourselves, as it cannot know how to do it. Let's free the strarray ourselves.
2014-03-19Merge pull request #68 from libgit2/cmn/oid-revampCarlos Martín Nieto
Oid revamp
2014-03-19Oid: fix IsZero()Carlos Martín Nieto
We need to compare against the number zero, not its ASCII value.
2014-03-19Oid: use Go's conversion functionsCarlos Martín Nieto
Go already has all the necessary pieces for encoding and decoding hex strings. Using them let's us avoid going into C land. Benchmarks show this takes about half the time as using libgit2's functions.
2014-03-19Oid: remove Bytes()Carlos Martín Nieto
This is not needed. We can do id[:] to get a slice.
2014-03-19Oid: make NewOid take a stringCarlos Martín Nieto
This is the most common way of having an id that's not in Oid form, so let's make it the "default" and rename to NewOidFromBytes() the one that takes []byte.
2014-03-19Oid: make the type directly [20]byteCarlos Martín Nieto
There is no need for a struct with a single field. An Oid is 20 bytes which hold the binary representation of the hash, so let's use that directly. Go lets us have methods on this new type just the same.
2014-03-19Merge pull request #69 from jezell/clone_opts_init_fixCarlos Martín Nieto
Clone opts init fix