summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-28fix bad merge (LastError -> MakeGitError)Jesse Ezell
2014-02-27add push, refine remotesJesse Ezell
2014-02-27Merge pull request #59 from libgit2/cmn/refsCarlos Martín Nieto
Add a few reference utility functions
2014-02-27Merge pull request #60 from libgit2/cmn/reflogs-defaultCarlos Martín Nieto
Allow for a default in reflog messages
2014-02-26re-encapsulate repositoryAidan Nulman
2014-02-26Actually type constants; unwrap DiffFile, DiffDelta, DiffHunk.lye
2014-02-26merge latest, cleanup error handling, add thread locksJesse Ezell
2014-02-26LastError -> MakeGitErrorJesse Ezell
2014-02-26Merge branch 'master' of https://github.com/libgit2/git2go into ↵Jesse Ezell
add-branch-lookup
2014-02-26Add thread lockingJesse Ezell
2014-02-26cleanup add-branchJesse Ezell
2014-02-26Merge branch 'branch_functions' of http://github.com/JohannWeging/git2go ↵Jesse Ezell
into merge-add-branch-lookup
2014-02-26Merge branch 'more-errors'Carlos Martín Nieto
2014-02-26Convert the rest of the errorsCarlos Martín Nieto
2014-02-26Added git error code to the error object.Jesper Hansen
2014-02-26Remove 'oid' as id nameCarlos Martín Nieto
Following the cleanup from libgit2, let's not use 'oid' unless we mean the name of the data type. In the other cases, we mean an identifier, hence the name 'id'.
2014-02-26Merge branch 'index-entries'Carlos Martín Nieto
2014-02-26Adjust to oid -> idCarlos Martín Nieto
2014-02-26Remove pointer to git_index_entryCarlos Martín Nieto
We have all the data
2014-02-26Allow for a default in reflog messagesCarlos Martín Nieto
We don't have a way to represent a NULL string, so if the user passes an empty string, let's pass NULL down so we tell libgit2 to use the default.
2014-02-26Add a few reference utility functionsCarlos Martín Nieto
2014-02-26Bundle consts more idiomatically; add GitLineType alias.lye
2014-02-26Unwrap DiffLine; add types for git_diff_flag_t and git_delta_t.lye
2014-02-26Merge pull request #42 from libgit2/cmn/configCarlos Martín Nieto
Wrap some more config functions
2014-02-26Lock the thread so we can get the error messageCarlos Martín Nieto
2014-02-26Add iterators and ConfigEntryCarlos Martín Nieto
2014-02-26Add a few more missing config functionsCarlos Martín Nieto
2014-02-26Add a few missing config setters and gettersCarlos Martín Nieto
2014-02-24Merge branch 'master' into custom_odbAidan Nulman
Conflicts: git.go reference.go repository.go submodule.go
2014-02-24add custom refdb backend supportAidan Nulman
2014-02-23Pre-emptively copy data when marshalling diff callback data.lye
When marshalling diff callback data to Go structs, any `char*` need to be pre-emptively copied onto Go's heap as they're invalidated as soon as our callback function returns. This patch adds this extra copy before sending the value to the channel, which fixes a bug wherein `DiffLine.Content`, `DiffFile.Path` and `DiffHunk.Header` would previously return garbage data.
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