Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
a051ee31
Commit
a051ee31
authored
Oct 31, 2016
by
Edward Thomson
Committed by
GitHub
Oct 31, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3978 from pks-t/pks/doc-improvements
Small documentation improvements
parents
e3298a33
dc98cb28
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
PROJECTS.md
+4
-4
THREADING.md
+2
-2
src/openssl_stream.c
+1
-1
No files found.
PROJECTS.md
View file @
a051ee31
...
@@ -5,7 +5,7 @@ So, you want to start helping out with `libgit2`? That's fantastic! We
...
@@ -5,7 +5,7 @@ So, you want to start helping out with `libgit2`? That's fantastic! We
welcome contributions and we promise we'll try to be nice.
welcome contributions and we promise we'll try to be nice.
This is a list of libgit2 related projects that new contributors can take
This is a list of libgit2 related projects that new contributors can take
on. It includes a number of good starter projects a
nd
well as some larger
on. It includes a number of good starter projects a
s
well as some larger
ideas that no one is actively working on.
ideas that no one is actively working on.
## Before You Start
## Before You Start
...
@@ -70,11 +70,11 @@ some incremental steps listed towards the larger goal. Those steps
...
@@ -70,11 +70,11 @@ some incremental steps listed towards the larger goal. Those steps
might make good smaller projects by themselves.
might make good smaller projects by themselves.
*
Port part of the Git test suite to run against the command line emulation
*
Port part of the Git test suite to run against the command line emulation
in
examples/
in
`examples/`
*
Pick a Git command that is emulated in our
examples/
area
*
Pick a Git command that is emulated in our
`examples/`
area
*
Extract the Git tests that exercise that command
*
Extract the Git tests that exercise that command
*
Convert the tests to call our emulation
*
Convert the tests to call our emulation
*
These tests could go in
examples/tests/
...
*
These tests could go in
`examples/tests/`
...
*
Add hooks API to enumerate and manage hooks (not run them at this point)
*
Add hooks API to enumerate and manage hooks (not run them at this point)
*
Enumeration of available hooks
*
Enumeration of available hooks
*
Lookup API to see which hooks have a script and get the script
*
Lookup API to see which hooks have a script and get the script
...
...
THREADING.md
View file @
a051ee31
...
@@ -88,7 +88,7 @@ of libssh2 as described above, `git_openssl_set_locking()` is a no-op.
...
@@ -88,7 +88,7 @@ of libssh2 as described above, `git_openssl_set_locking()` is a no-op.
If your programming language offers a package/bindings for OpenSSL,
If your programming language offers a package/bindings for OpenSSL,
you should very strongly prefer to use that in order to set up
you should very strongly prefer to use that in order to set up
locking, as they provide a level of co
ö
rdination which is impossible
locking, as they provide a level of co
o
rdination which is impossible
when using this function.
when using this function.
See the
See the
...
@@ -102,7 +102,7 @@ if there are alternatives provided by the system.
...
@@ -102,7 +102,7 @@ if there are alternatives provided by the system.
libssh2 may be linked against OpenSSL or libgcrypt. If it uses OpenSSL,
libssh2 may be linked against OpenSSL or libgcrypt. If it uses OpenSSL,
see the above paragraphs. If it uses libgcrypt, then you need to
see the above paragraphs. If it uses libgcrypt, then you need to
set up its locking before using it multi-threaded. libgit2 has no
set up its locking before using it multi-threaded. libgit2 has no
direct connection to libgcrypt and thus has no
t
convenience functions for
direct connection to libgcrypt and thus has no convenience functions for
it (but libgcrypt has macros). Read libgcrypt's
it (but libgcrypt has macros). Read libgcrypt's
[
threading documentation for more information
](
http://www.gnupg.org/documentation/manuals/gcrypt/Multi_002dThreading.html
)
[
threading documentation for more information
](
http://www.gnupg.org/documentation/manuals/gcrypt/Multi_002dThreading.html
)
...
...
src/openssl_stream.c
View file @
a051ee31
...
@@ -148,7 +148,7 @@ int git_openssl_set_locking(void)
...
@@ -148,7 +148,7 @@ int git_openssl_set_locking(void)
git__on_shutdown
(
shutdown_ssl_locking
);
git__on_shutdown
(
shutdown_ssl_locking
);
return
0
;
return
0
;
#else
#else
giterr_set
(
GITERR_THREAD
,
"libgit2 as not built with threads"
);
giterr_set
(
GITERR_THREAD
,
"libgit2
w
as not built with threads"
);
return
-
1
;
return
-
1
;
#endif
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment