forked from jvdsandt/LibGit
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from gcotelli/support_libgit_1_8
Fix for pharo/pharo-project#16677
- Loading branch information
Showing
22 changed files
with
140 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
44 changes: 44 additions & 0 deletions
44
LibGit-Core.package/LGitPushOptionsV180.class/class/fieldsDesc.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
field definition | ||
fieldsDesc | ||
"self rebuildFieldAccessors" | ||
|
||
^ #( | ||
LGitOptionsVersionsEnum version; | ||
" | ||
* If the transport being used to push to the remote requires the creation | ||
* of a pack file, this controls the number of worker threads used by | ||
* the packbuilder when creating that pack file to be sent to the remote. | ||
* | ||
* If set to 0, the packbuilder will auto-detect the number of threads | ||
* to create. The default value is 1. | ||
" | ||
uint pb_parallelism; | ||
" | ||
* Callbacks to use for this push operation | ||
" | ||
LGitRemoteCallbacksV120 callbacks; | ||
" | ||
* Proxy options to use, by default no proxy is used. | ||
" | ||
LGitProxyOptions proxy_opts; | ||
" | ||
* Whether to allow off-site redirects. If this is not | ||
* specified, the `http.followRedirects` configuration setting | ||
* will be consulted. | ||
" | ||
LGitRemoteRedirectEnum follow_redirects; | ||
" | ||
* Extra headers for this push operation | ||
" | ||
LGitStringArray custom_headers; | ||
" | ||
* 'Push options' to deliver to the remote. | ||
" | ||
LGitStringArray remote_push_options; | ||
) |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_callbacks..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_callbacks: anObject | ||
"This method was automatically generated" | ||
handle structAt: OFFSET_PRIM_CALLBACKS put: anObject getHandle length: LGitRemoteCallbacksV120 byteSize |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_callbacks.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_callbacks | ||
"This method was automatically generated" | ||
^ LGitRemoteCallbacksV120 fromHandle: (handle referenceStructAt: OFFSET_PRIM_CALLBACKS length: LGitRemoteCallbacksV120 byteSize) |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_custom_headers..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_custom_headers: anObject | ||
"This method was automatically generated" | ||
handle structAt: OFFSET_PRIM_CUSTOM_HEADERS put: anObject getHandle length: LGitStringArray byteSize |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_custom_headers.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_custom_headers | ||
"This method was automatically generated" | ||
^ LGitStringArray fromHandle: (handle referenceStructAt: OFFSET_PRIM_CUSTOM_HEADERS length: LGitStringArray byteSize) |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_follow_redirects..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_follow_redirects: anObject | ||
"This method was automatically generated" | ||
handle unsignedLongAt: OFFSET_PRIM_FOLLOW_REDIRECTS put: anObject value |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_follow_redirects.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_follow_redirects | ||
"This method was automatically generated" | ||
^LGitRemoteRedirectEnum fromInteger: (handle unsignedLongAt: OFFSET_PRIM_FOLLOW_REDIRECTS) |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_pb_parallelism..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_pb_parallelism: anObject | ||
"This method was automatically generated" | ||
handle unsignedLongAt: OFFSET_PRIM_PB_PARALLELISM put: anObject |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_pb_parallelism.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_pb_parallelism | ||
"This method was automatically generated" | ||
^handle unsignedLongAt: OFFSET_PRIM_PB_PARALLELISM |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_proxy_opts..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_proxy_opts: anObject | ||
"This method was automatically generated" | ||
handle structAt: OFFSET_PRIM_PROXY_OPTS put: anObject getHandle length: LGitProxyOptions byteSize |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_proxy_opts.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_proxy_opts | ||
"This method was automatically generated" | ||
^ LGitProxyOptions fromHandle: (handle referenceStructAt: OFFSET_PRIM_PROXY_OPTS length: LGitProxyOptions byteSize) |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_remote_push_options..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_remote_push_options: anObject | ||
"This method was automatically generated" | ||
handle structAt: OFFSET_PRIM_REMOTE_PUSH_OPTIONS put: anObject getHandle length: LGitStringArray byteSize |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_remote_push_options.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_remote_push_options | ||
"This method was automatically generated" | ||
^ LGitStringArray fromHandle: (handle referenceStructAt: OFFSET_PRIM_REMOTE_PUSH_OPTIONS length: LGitStringArray byteSize) |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_version..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_version: anObject | ||
"This method was automatically generated" | ||
handle unsignedLongAt: OFFSET_PRIM_VERSION put: anObject value |
4 changes: 4 additions & 0 deletions
4
LibGit-Core.package/LGitPushOptionsV180.class/instance/prim_version.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
libgit-fields | ||
prim_version | ||
"This method was automatically generated" | ||
^LGitOptionsVersionsEnum fromInteger: (handle unsignedLongAt: OFFSET_PRIM_VERSION) |
5 changes: 5 additions & 0 deletions
5
LibGit-Core.package/LGitPushOptionsV180.class/instance/push_init_options.version..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
libgit - calls | ||
push_init_options: options version: version | ||
self | ||
ffiCall: #(LGitReturnCodeEnum git_push_init_options(LGitPushOptionsV180 *options, LGitOptionsVersionsEnum version)) | ||
options: #() |
19 changes: 19 additions & 0 deletions
19
LibGit-Core.package/LGitPushOptionsV180.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "LGitAbstractPushOptions", | ||
"category" : "LibGit-Core-FFI-Structs", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ | ||
"OFFSET_PRIM_CALLBACKS", | ||
"OFFSET_PRIM_CUSTOM_HEADERS", | ||
"OFFSET_PRIM_FOLLOW_REDIRECTS", | ||
"OFFSET_PRIM_PB_PARALLELISM", | ||
"OFFSET_PRIM_PROXY_OPTS", | ||
"OFFSET_PRIM_REMOTE_PUSH_OPTIONS", | ||
"OFFSET_PRIM_VERSION" | ||
], | ||
"instvars" : [ ], | ||
"name" : "LGitPushOptionsV180", | ||
"type" : "normal" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
LibGit-Core.package/LGitRemote.class/instance/remote_push_v180.refspecs.opts..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
libgit - calls | ||
remote_push_v180: remote refspecs: refspecs opts: opts | ||
|
||
^ self ffiCallSafely: #(LGitReturnCodeEnum git_remote_push #( | ||
self, | ||
LGitStringArray *refspecs, | ||
LGitPushOptionsV180 *opts)) | ||
options: #(optCoerceNilToNull) |