Carlos Martín Nieto
0202f152ac
Add the new callbacks for Remote.Push()
...
This unifies the types with the Push struct, in preparation for its
deletion.
2014-12-13 01:23:40 +01:00
Carlos Martín Nieto
63116ea57e
Update to master
...
This deprecates the Push struct in favour of Remote.Push()
2014-12-13 00:25:11 +01:00
Carlos Martín Nieto
a9d993f3d1
Remove useless includes
2014-12-11 02:59:07 +01:00
Carlos Martín Nieto
cb6201b633
Add missing thread-locking
2014-12-11 02:46:42 +01:00
Carlos Martín Nieto
1198f829b1
Merge pull request #148 from joseferminj/export-patch-from-branches
...
Export PatchFromBuffers function.
2014-12-11 02:42:29 +01:00
Carlos Martín Nieto
7762e1a3a9
Merge pull request #138 from sqs/check-MakeGitError-thread-lock
...
Add script for checking thread locks in funcs that call MakeGitError
2014-12-09 00:47:41 +01:00
Quinn Slack
57095bafe7
only check Go source files for non-thread-locked MakeGitError calls
2014-12-08 11:54:04 -08:00
Quinn Slack
3087e610fb
add script for checking thread locks in funcs that call MakeGitError
2014-12-08 11:52:35 -08:00
Jose Alvarez
db17135a30
Export PatchFromBuffers function.
...
This change also factor out diffOptionsToC function to remove
duplicated code.
2014-12-06 16:29:25 -05:00
Carlos Martín Nieto
520a0425c7
Add the newer missing thread-locking instances
2014-12-06 03:03:26 +01:00
Carlos Martín Nieto
8c631b0c25
Add missing thread locking
2014-12-06 02:45:26 +01:00
Carlos Martín Nieto
0ec2f46659
Merge pull request #136 from sqs/blame
...
Add BlameFile func and options
2014-12-06 02:33:56 +01:00
Carlos Martín Nieto
855d8790c4
Merge pull request #141 from jochil/git_diff_find_similar
...
Integrated git_diff_find_similar
2014-12-06 02:29:02 +01:00
Carlos Martín Nieto
27ce026f1c
Merge pull request #140 from AaronO/patch-1
...
Add wrapper for git_remote_delete : Repository.DeleteRemote
2014-12-06 02:25:02 +01:00
Carlos Martín Nieto
752a4f0497
Merge pull request #146 from stevenwilkin/add-build-status
...
Add build status to README
2014-12-05 16:41:23 +01:00
Carlos Martín Nieto
1d0a688411
Merge pull request #144 from libgit2/update
...
Update to master
2014-12-05 11:45:39 +01:00
Steven Wilkin
9b0ba12c34
Add build status to README
2014-12-04 19:51:41 +00:00
Carlos Martín Nieto
1d759e3697
Update to master
2014-12-03 17:26:55 +01:00
Aaron O'Mullan
5b3bc2dd1f
Add (*Repository).DeleteRemote
2014-11-26 22:05:21 +01:00
Jochen Hilgers
a4ae68783d
Integrated git_diff_find_similar
2014-11-26 17:22:15 +01:00
Quinn Slack
3268bdbeb2
add (*Blame).HunkByLine (git_blame_get_hunk_byline) and test
2014-11-18 05:06:03 -08:00
Quinn Slack
ebb657ce2f
free C string
2014-11-18 04:58:23 -08:00
Quinn Slack
8b39eb7953
lock OS thread when MakeGitError might be called
2014-11-18 04:57:26 -08:00
Quinn Slack
609a9a3cdf
omit unnecessary #include
2014-11-18 04:55:10 -08:00
Quinn Slack
65ff78dead
Add BlameFile func and options for git-blaming files
2014-11-17 19:44:21 -08:00
Carlos Martín Nieto
1796304374
Merge pull request #135 from joseferminj/diff-tree-workdir
...
Expose DiffTreeToWorkdir function
2014-11-17 14:42:00 +01:00
joseferminj
1ba38905d1
Expose DiffTreeToWorkdir function
2014-11-13 23:06:45 -05:00
Carlos Martín Nieto
61729f5c93
Merge pull request #134 from joseferminj/fix-merge-trees-nil-ancestor
...
Fix MergeTrees func to accept nil as ancestor parameter
2014-11-09 20:34:56 +01:00
joseferminj
ff65faa082
Fix MergeTrees func to accept nil as ancestor parameter
2014-11-08 19:07:21 -05:00
Carlos Martín Nieto
98299e65fb
README: add -d flag to 'go get'
...
To make sure it doesn't try to build it.
2014-10-31 23:20:57 +01:00
Carlos Martín Nieto
58f6de09f4
Merge pull request #132 from apsdehal/master
...
Updates README.md to include GoDoc badge.
2014-10-30 23:39:01 +01:00
Amanpreet Singh
fd312d354f
Updates README.md to include GoDoc badge.
2014-10-28 23:10:35 +05:30
Carlos Martín Nieto
ccfce74e18
Merge pull request #129 from libgit2/cmn/const-type
...
Make the constants have types
2014-10-28 11:59:04 +01:00
Carlos Martín Nieto
668aa5dae1
Make the constants have types
...
While Go will assign the correct type to a const block when it
auto-creates the values, assigning makes the const be typeless and will
only gain it in each particular use.
Make each constant in the blocks have an assigned type.
2014-10-28 11:29:31 +01:00
Carlos Martín Nieto
9c6db70fc2
Merge pull request #127 from calavera/ls_remote
...
Add Remote#Ls.
2014-10-27 17:42:28 +01:00
David Calavera
d722c11f7f
Hide C.git_direction type.
2014-10-27 09:08:05 -07:00
David Calavera
e969b33b33
Make filtering logic more simple.
2014-10-27 08:32:50 -07:00
David Calavera
d1b87efd96
Add connect methods to Remote.
2014-10-27 08:29:42 -07:00
David Calavera
749d6149b3
Merge branch 'master' into ls_remote
...
* master:
Update libgit2 submodule.
Remove Config#Refresh
implemented Index.AddAll, Index.RemoveAll, Index.UpdateAll
2014-10-27 07:25:57 -07:00
Carlos Martín Nieto
99d10775d6
Merge pull request #125 from lucas-clemente/master
...
implemented Index.AddAll as git_index_add_all wrapper
2014-10-25 18:11:52 +02:00
Carlos Martín Nieto
a2fd47aad2
Merge pull request #128 from calavera/remote_git_config_refresh_call
...
Remove Config#Refresh
2014-10-25 18:07:33 +02:00
David Calavera
ea54434f90
Update libgit2 submodule.
2014-10-25 06:59:40 -07:00
David Calavera
f6fa1a38ab
Add Remote#Ls.
...
Allow filtering heads by name.
2014-10-24 17:28:10 -07:00
David Calavera
5c72fe54b8
Remove Config#Refresh
...
Because it has been removed from libgit2:
55cb499972
2014-10-24 17:22:46 -07:00
Lucas Clemente
9d37f81764
implemented Index.AddAll, Index.RemoveAll, Index.UpdateAll
2014-10-24 21:55:08 +02:00
Carlos Martín Nieto
41008af54c
Merge pull request #123 from ry/master
...
Use Filemode type in TreeEntry and IndexEntry
2014-10-23 19:17:23 +02:00
Carlos Martín Nieto
0af2a39b4e
Update to latest master
2014-10-23 18:51:51 +02:00
Ryan Dahl
5539137e9a
Use Filemode type in TreeEntry and IndexEntry
...
Fixes #121
2014-10-20 11:58:55 -04:00
Carlos Martín Nieto
3b7cc1e97e
remote: use the library's certificate validity if no callback is set
...
We should not return 0, as in this case that means we let it through,
return an appropriate error instead.
2014-10-19 14:38:00 +02:00
Carlos Martín Nieto
68bd3bbdd7
Fix header name
...
It turns out that some systems have a strings.h which includes string.h,
which does not happen on GNU systems.
2014-10-15 17:10:35 +02:00