summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-25Add a settings packageCarlos Martín Nieto
This lets us modify the libgit2-wide options/settings.
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-20Remote: remove Get prefix from refspecsCarlos Martín Nieto
Idiomatic Go is to omit the Get from the getter methods.
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
2014-03-18fix naming on testJesse Ezell
2014-03-18add simple clone testJesse Ezell
2014-03-18fix clone options initJesse Ezell
2014-03-18Merge pull request #61 from jezell/remotes-wipCarlos Martín Nieto
Cleaned up remotes / clone / add push / fetch
2014-03-17Merge pull request #67 from jezell/chunk-create-fixCarlos Martín Nieto
fix chunk create return values
2014-03-16fix chunk create logicJesse Ezell
2014-03-11remove strarray wrappersJesse Ezell
2014-03-11fix return for old go versions / travisJesse Ezell
2014-03-11clean up clone codeJesse Ezell
2014-03-11cleanup clone codeJesse Ezell
2014-03-11merge with latestJesse Ezell
2014-03-11Merge pull request #65 from jezell/blob_and_tree_updatesCarlos Martín Nieto
Minor API enhancements
2014-03-11Merge branch 'cmn/checkout-opts'Carlos Martín Nieto
2014-03-11CheckoutIndex: allow for index to be nilCarlos Martín Nieto
Allow for the index to be nil and pass that to the library to use the repository's index.
2014-03-11Move checkout functions options more in line with the libraryCarlos Martín Nieto
Afjust Checkout -> CheckoutHead and pass nil if the options structure is nil so as not to overide the library's decisions.
2014-03-11Remove custom checkout opts init functionCarlos Martín Nieto
2014-03-11Adjust to checkout_opts -> checkout_optionsCarlos Martín Nieto
2014-03-11Merge pull request #58 from jezell/add-branch-lookupCarlos Martín Nieto
Add branch functions
2014-03-07add blob chunk creation, creation of tree builders for specific trees, minor ↵Jesse Ezell
API cleanup
2014-02-28move return outside of switch for go 1.0 / travisJesse Ezell