Carlos Martín Nieto
def4494b74
Move CreateTag to the tags collection
2015-07-31 20:23:05 +02:00
Calin Seciu
12311c8528
Add TagsCollection
2015-07-31 09:51:19 +02:00
Carlos Martín Nieto
b4ade2b9c6
Merge remote-tracking branch 'upstream/master' into next
2015-07-01 16:07:02 +02:00
Carlos Martín Nieto
4eae20ec27
Adjust style
2015-07-01 16:00:17 +02:00
Carlos Martín Nieto
84275e691f
Merge commit 'refs/pull/198/head' of github.com:libgit2/git2go
2015-07-01 15:58:21 +02:00
Carlos Martín Nieto
2475907105
Merge commit 'refs/pull/174/head' of github.com:libgit2/git2go
2015-07-01 15:56:06 +02:00
Carlos Martín Nieto
66d266f971
Repository: move to use an actual constructor
...
This should further reduce the changes of the creation of the object
going badly.
2015-06-30 19:03:52 +02:00
Carlos Martín Nieto
70c95a7655
Create a NotesCollection for managing notes
...
As with the others, move these methods into their own namespace.
2015-06-28 01:19:22 +02:00
Carlos Martín Nieto
01a2d8d38d
Create a ReferenceCollection for managing references
...
As with the other commits, this clears up the clutter in naming and
around the Repository's API.
2015-06-28 01:12:32 +02:00
Carlos Martín Nieto
d2808d1610
Create a SubmoduleCollection for managing submodules
...
Similarly to RemoteCollection, this allows us to namespace the submodule
operations much more concisely and removes API on the Repository.
2015-06-28 00:58:31 +02:00
Carlos Martín Nieto
4b9cbd78fd
Create a RemoteCollection for managing remotes
...
Instead of making the 'Remote' part of the function calls, create a
collection object which serves to namespace the operations for the
remotes.
2015-06-28 00:51:17 +02:00
Fernando Oliveira
c1df2dcdc1
Add method to check if repo is detached
2015-04-30 23:16:12 -03:00
Carlos Martín Nieto
b374e16db8
Update to libgit2 4c02d3937
2015-04-18 04:50:39 +02:00
Carlos Martín Nieto
c4fce1a218
Update to libgit2 d675982a153
...
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-15 01:49:32 +01:00
Mark Probst
e439b931a6
Default signature
2015-03-04 15:52:57 -08:00
Mark Probst
db5fa66b48
State cleanup
2015-03-04 15:52:55 -08:00
Mark Probst
56ed0b22d7
Repository state
2015-03-04 15:52:52 -08:00
Matthew Donoughe
51e7cf0ad4
use git_signature_free
2015-02-13 20:44:29 -05:00
Ben Burkert
4989fc5a15
Add git note support
2015-01-07 11:56:33 -08:00
Carlos Martín Nieto
d57246fb74
Update to libgit2 master
...
This gets rid of the Push object. All network now goes through the
Remote object.
2015-01-04 17:05:11 +00:00
David Calavera
d69c771453
Update libgit2
...
Fix calls to C.git_treebuilder_create and C.git_treebuilder_write.
2014-12-18 22:59:08 +00:00
Carlos Martín Nieto
8c631b0c25
Add missing thread locking
2014-12-06 02:45:26 +01:00
Alexander Surma
d196da40ed
Repository.CreateCommit: Only allocate CStr on non-empty refname
2014-09-04 09:57:54 +02:00
Alexander Surma
fe452620c6
Repository.CreateCommit: Allow empty refname for non-update commit
2014-09-01 19:27:44 +02:00
David Calavera
29840d28ad
Extract data into a go struct.
2014-08-22 22:36:18 -07:00
Frank Benkstein
b3306bee41
fix indentation
2014-06-11 19:55:24 +02:00
Frank Benkstein
bbdc7a825d
add support for annotated tags
2014-06-09 23:19:17 +02:00
Carlos Martín Nieto
8a73c75f1a
Keep a pointer to the repository in the objects and references
...
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-26 09:28:07 +02:00
Carlos Martín Nieto
ec97cb4473
Merge branch 'repo-ext'
2014-05-23 16:02:36 +02:00
cloudson
591a67fef8
Add function to open repository from subpaths
2014-05-23 16:02:30 +02:00
Ondrej Kupka
2cf19370bc
Implement git_repository_set_head(_detached)
...
This closes #88
Signed-off-by: Ondrej Kupka <ondra.cap@gmail.com>
2014-05-03 13:55:25 +02:00
Carlos Martín Nieto
5809f03108
Merge commit 'refs/pull/72/head' of github.com:libgit2/git2go
...
Conflicts:
git.go
wrapper.c
2014-04-26 20:51:21 +02:00
Carlos Martín Nieto
4df7eb516c
Merge pull request #63 from jezell/jezell/merge
...
Merge functions (in progress)
2014-04-26 20:42:18 +02:00
Carlos Martín Nieto
57f14a2591
Merge commit 'refs/pull/48/head' of github.com:libgit2/git2go
2014-04-26 20:30:57 +02:00
cloudson
80ad996dc1
Recursive find respository
2014-04-17 08:33:22 -03:00
Jesse Ezell
b00cb1a343
Merge remote-tracking branch 'libgit/master' into add-basic-diff-patch
2014-04-04 00:30:05 -07:00
Jesse Ezell
864c57f554
merge latest, copy merge bytes to go array
2014-04-04 00:22:42 -07:00
Aidan Nulman
fc70808cb7
update for upstream changes
2014-04-03 16:49:22 -04:00
Aidan Nulman
d9f4adff6c
Merge branch 'master' into custom_odb
...
Conflicts:
odb.go
wrapper.c
2014-04-03 16:41:43 -04:00
Aidan Nulman
b5e60dc106
explicit returns
2014-04-03 16:39:21 -04:00
Carlos Martín Nieto
a06f4a030a
Adjust to Go tip changes
...
It does not like breaking aliasing rules, so let's keep a casted pointer
for when libgit2 wants that.
2014-04-01 12:36:44 +02:00
Jesse Ezell
d78036fe24
refactor and cleanup code
2014-03-20 22:54:18 -07:00
Jesse Ezell
37964e878f
merge with latest
2014-03-20 22:02:19 -07:00
Jesse Ezell
d0b334b244
cleanup and refactor diff / patch
2014-03-20 21:56:41 -07:00
Jesse Ezell
7cbbeff7ac
merge with latest
2014-03-11 12:42:08 -07:00
Jesse Ezell
5e163fa2e8
add blob chunk creation, creation of tree builders for specific trees, minor API cleanup
2014-03-07 16:43:20 -08:00
Carlos Martín Nieto
639b66345c
Fix an old error function call that snuck in
2014-02-28 14:11:21 +01:00
Jesse Ezell
0497d2b114
fix bad merge (LastError -> MakeGitError)
2014-02-28 00:21:48 -08:00
Carlos Martín Nieto
fc6d0fbfff
Merge pull request #59 from libgit2/cmn/refs
...
Add a few reference utility functions
2014-02-27 17:03:39 +01:00
Carlos Martín Nieto
c431fe3c2c
Merge pull request #60 from libgit2/cmn/reflogs-default
...
Allow for a default in reflog messages
2014-02-27 17:03:20 +01:00