summaryrefslogtreecommitdiff
path: root/repository.go
AgeCommit message (Collapse)Author
2015-01-07Add git note supportBen Burkert
2015-01-04Update to libgit2 masterCarlos Martín Nieto
This gets rid of the Push object. All network now goes through the Remote object.
2014-12-18Update libgit2David Calavera
Fix calls to C.git_treebuilder_create and C.git_treebuilder_write.
2014-12-06Add missing thread lockingCarlos Martín Nieto
2014-09-04Repository.CreateCommit: Only allocate CStr on non-empty refnameAlexander Surma
2014-09-01Repository.CreateCommit: Allow empty refname for non-update commitAlexander Surma
2014-08-22Extract data into a go struct.David Calavera
2014-06-11fix indentationFrank Benkstein
2014-06-09add support for annotated tagsFrank Benkstein
2014-05-26Keep a pointer to the repository in the objects and referencesCarlos Martín Nieto
Otherwise, the garbage collector might decide it's a good idea to throw away the repository instance while the C object still has a pointer to it. Hilarity ensues.
2014-05-23Merge branch 'repo-ext'Carlos Martín Nieto
2014-05-23Add function to open repository from subpathscloudson
2014-05-03Implement git_repository_set_head(_detached)Ondrej Kupka
This closes #88 Signed-off-by: Ondrej Kupka <[email protected]>
2014-04-26Merge commit 'refs/pull/72/head' of github.com:libgit2/git2goCarlos Martín Nieto
Conflicts: git.go wrapper.c
2014-04-26Merge pull request #63 from jezell/jezell/mergeCarlos Martín Nieto
Merge functions (in progress)
2014-04-26Merge commit 'refs/pull/48/head' of github.com:libgit2/git2goCarlos Martín Nieto
2014-04-17Recursive find respositorycloudson
2014-04-04Merge remote-tracking branch 'libgit/master' into add-basic-diff-patchJesse Ezell
2014-04-04merge latest, copy merge bytes to go arrayJesse Ezell
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-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-03-20refactor and cleanup codeJesse Ezell
2014-03-20merge with latestJesse Ezell
2014-03-20cleanup and refactor diff / patchJesse Ezell
2014-03-11merge with latestJesse Ezell
2014-03-07add blob chunk creation, creation of tree builders for specific trees, minor ↵Jesse Ezell
API cleanup
2014-02-28Fix an old error function call that snuck inCarlos Martín Nieto
2014-02-28fix bad merge (LastError -> MakeGitError)Jesse 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-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-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-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-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-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
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-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-14Fix memleak for Config and parent commit objectsArtiom Di