summaryrefslogtreecommitdiff
path: root/repository.go
AgeCommit message (Collapse)Author
2015-06-30Repository: move to use an actual constructorCarlos Martín Nieto
This should further reduce the changes of the creation of the object going badly.
2015-06-28Create a NotesCollection for managing notesCarlos Martín Nieto
As with the others, move these methods into their own namespace.
2015-06-28Create a ReferenceCollection for managing referencesCarlos Martín Nieto
As with the other commits, this clears up the clutter in naming and around the Repository's API.
2015-06-28Create a SubmoduleCollection for managing submodulesCarlos Martín Nieto
Similarly to RemoteCollection, this allows us to namespace the submodule operations much more concisely and removes API on the Repository.
2015-06-28Create a RemoteCollection for managing remotesCarlos Martín Nieto
Instead of making the 'Remote' part of the function calls, create a collection object which serves to namespace the operations for the remotes.
2015-04-18Update to libgit2 4c02d3937Carlos Martín Nieto
2015-03-15Update to libgit2 d675982a153Carlos Martín Nieto
There's been some changes to the checkout strategy, especially the SAFE_CREATE mode, which is now the RECREATE_MISSING flag, though that shouldn't be necessary to use in the general case. The largest changes come from the removal of the signture from ref-modifying functions/methods and the removal of the reflog string in all but those directly related to moving references.
2015-03-04Default signatureMark Probst
2015-03-04State cleanupMark Probst
2015-03-04Repository stateMark Probst
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