summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-23Export the constants and enumerations for diffs.lye
It is possible that the typed enums from libgit2 should be exported as distinct types rather than numeric constants (e.g, `git_delta_t` and `git_line_t` should be typed), but this has not been done in this patch.
2014-02-23Return SubmoduleRecurseCarlos Martín Nieto
2014-02-23Merge pull request #52 from ursachec/masterCarlos Martín Nieto
Support for git_odb_hash.
2014-02-23Merge pull request #51 from Tobscher/masterCarlos Martín Nieto
added write method to index
2014-02-23Merge pull request #55 from lye/add-is-x-reference-methodsCarlos Martín Nieto
Add Is$Type methods to Reference.
2014-02-23Merge commit 'refs/pull/53/head' of github.com:libgit2/git2goCarlos Martín Nieto
On top: fix git_buf handling and rename signature This fixes #57, #54. Conflicts: git.go reference.go repository.go submodule.go
2014-02-20Add partial diff/patch functionality.lye
This commit adds barebones capacity to generate diffs from two trees and to emit those as git-style diffs (via `Patch.String`), or to enumerate the files/hunks/lines in the diff to emit the data yourself. The walk functions have been implemented in the same manner as the Odb walking methods. Note that not all of the functionality is implemented for either the `git_diff_*` nor the `git_patch_*` functions, and there are unexposed constants which would likely be useful to add.
2014-02-20Add Is$Type methods to Reference.lye
This patch adds the following methods to Reference: IsBranch() bool IsRemote() bool IsTag() bool which correspond to the `git_reference_is_$type` functions in libgit2.
2014-01-29add OdbBackend.Free() and the C it wraps; go fmt odb.goAidan Nulman
2014-01-29Merge branch 'catchupTo66af84' into custom_odbAidan Nulman
Conflicts: git.go reference.go repository.go submodule.go
2014-01-29update git2go to support latest libgit2 development commit (id: 66af84)Aidan Nulman
2014-01-28Merge branch 'master' into custom_odbAidan Nulman
2014-01-26Remove unnecessary cast.Claudiu-Vlad Ursache
2014-01-25Test for Odb hash function.Claudiu-Vlad Ursache
2014-01-25Add Odb hash function.Claudiu-Vlad Ursache
2014-01-24added write methodTobias Haar
2014-01-06wip wrapping git_remoteJason Toffaletti
2014-01-06minorJason Toffaletti
2014-01-05wrappers for git_cred, git_transfer_progress. don't call nil callbacks.Jason Toffaletti
2014-01-04work in progress wrapping git_cloneJason Toffaletti
2014-01-02add git_submodule_recurse_t typeJason Toffaletti
2013-12-20remove unnecessary commentAidan Nulman
2013-12-20Add OdbBackend constructorAidan Nulman
2013-12-19Rename constructor functions to New...Aidan Nulman
2013-12-19Refactor InitRepositoryWCustomOdbBackend() into component functionsAidan Nulman
2013-12-18Stop assuming ODB backend includes wrapping routine; wrap in git2go insteadAidan Nulman
2013-12-18Merge pull request #41 from libgit2/cmn/threadingCarlos Martín Nieto
Lock the OS thread when acessing errors
2013-12-18Lock the OS thread when acessing errorsCarlos Martín Nieto
The library stores error information in thread-local storage, which means we need to make sure that the Go runtime doesn't switch OS threads between the time we call a function and th time we attempt to retrieve the error information.
2013-12-17add function to init repos w/custom odb backendsAidan Nulman
2013-11-18Merge pull request #47 from kron4eg/tree_builder_mem_leakVicent Martí
Fix memleak, TreeBuilder, Config and Parent commit
2013-11-14Fix memleak for Config and parent commit objectsArtiom Di
2013-11-14Fix memleak, free TreeBuilderArtiom Di
2013-11-14ObjectType: capitalise TagCarlos Martín Nieto
2013-11-14Don't repeat the pkg-config lineCarlos Martín Nieto
This is only needed once per package. Having it on every file makes the build system ask about it n times, which is silly.
2013-11-13Packbuilder: adjust to changes in devCarlos Martín Nieto
2013-10-30branch: Deleted BranchForeachJohann Weging
2013-10-10branch:BranchForeach: Correct handling of the ListFlagsJohann Weging
2013-10-08branch: Renamed BranchLookup to LookupBrnachJohann Weging
2013-10-08branch: Renamed BranchCreate to CreateBranchJohann Weging
2013-10-08branch: Variable names don't repeat its type name any longerJohann Weging
2013-10-08branch: Changed BranchT to BranchTypeJohann Weging
2013-10-08branch: Implemented branch functions.Johann Weging
2013-09-22Remove leftover reference to old constCarlos Martín Nieto
2013-09-17Merge pull request #36 from libgit2/ref-iterVicent Martí
reference: get references out of the iterator
2013-09-17Merge pull request #38 from libgit2/odb-streamVicent Martí
Wrap the odb streams
2013-09-17Merge pull request #39 from libgit2/goify-constsVicent Martí
Goify consts
2013-09-12Give each const group a typeCarlos Martín Nieto
This allows us to restrict which constants the compiler will allow through, and makes the sorting in the documentation better.
2013-09-12Camel-case constantsCarlos Martín Nieto
Make the names look more like what you'd expect from Go.
2013-09-12Tree: add EntryByPathCarlos Martín Nieto
The more powerful version of EntryByName.
2013-09-11Object types are constantsCarlos Martín Nieto
Define the object type values as constants