Edward Thomson
992f65f78b
Merge pull request #5916 from boretrk/doc
...
Update from regex to pcre licensing information in docs/contributing.md
2021-07-02 18:27:59 -05:00
Edward Thomson
ed4a12aec2
Merge pull request #5917 from tiennou/fix/docurium-issues
...
docs: fix some missing includes that cause Docurium to error out
2021-07-02 18:27:14 -05:00
Edward Thomson
e16747660f
Merge pull request #5929 from jacquesg/winhttp
...
Define WINHTTP_NO_CLIENT_CERT_CONTEXT if needed
2021-06-29 12:26:04 -05:00
Jacques Germishuys
a2cd10e52b
define WINHTTP_NO_CLIENT_CERT_CONTEXT if needed
2021-06-26 18:52:21 +01:00
Edward Thomson
416ea5b46d
README: libera.chat not Freenode
2021-06-25 14:58:06 -05:00
Edward Thomson
e2d2a03ea1
Merge pull request #5925 from Batchyx/batchyx/master-to-main-doc
...
docs: stop mentioning libgit2's "master" branch
2021-06-25 14:49:46 -05:00
Edward Thomson
9eeee00fe2
Update docs/release.md
...
Co-authored-by: lhchavez <lhchavez@lhchavez.com >
2021-06-25 14:49:33 -05:00
Nicolas Cavallari
a2cd66be8a
docs: stop mentioning libgit2's "master" branch
...
The name of libgit2's main branch is now "main" but contributing.md and
release.md still reference "master" as the main branch. Fix it.
2021-06-23 17:47:12 +02:00
Peter Pettersson
045031bbdc
Update from regex to pcre licensing information
2021-06-17 19:56:00 +02:00
Edward Thomson
0d0150d8eb
Merge pull request #5910 from arxanas/patch-1
2021-06-15 07:42:20 +01:00
Waleed Khan
1bdd937d16
Update index.h
2021-06-14 17:25:35 -07:00
Edward Thomson
6efcfdb89b
Merge pull request #5900 from dtolnay-contrib/lstat
...
Tolerate readlink size less than st_size
2021-06-15 00:15:27 +01:00
Edward Thomson
9ecbff125a
Merge pull request #5903 from punkymaniac/patch-documentation
...
Patch documentation
2021-06-15 00:11:25 +01:00
Waleed Khan
0b3f6da411
Fix misleading doc for git_index_find
...
In fc46dc06f5 (r540092847) , I was confused by the semantics of `git_index_find`. The documentation says both that it returns the output value in `at_pos` and that it returns it directly as an `int`. This is incorrect; the return value is only returned via `at_pos`.
2021-06-13 16:42:00 -07:00
punkymaniac
a2fa9a5772
Add some missing documentation about return value
2021-06-02 14:49:33 +02:00
punkymaniac
eeacd234ef
Fix struct indentation
2021-06-02 14:47:24 +02:00
punkymaniac
8b79a3f9ba
Remove bad space in documentation
2021-06-02 14:46:12 +02:00
punkymaniac
75defb75a8
Add documentation about GIT_OPT_GET_USER_AGENT
2021-06-02 14:44:45 +02:00
Edward Thomson
868f4bcb4d
Merge pull request #5897 from tiennou/fix/coding-style-comment
2021-05-31 21:06:37 +01:00
David Tolnay
cf9196bdbc
Tolerate readlink size less than st_size
2021-05-30 11:54:18 -07:00
Etienne Samson
3e17854782
docs: fix some missing includes that cause Docurium to error out
2021-05-27 16:26:38 +02:00
Etienne Samson
a25cba2c0f
docs: fix incorrect comment marker
2021-05-27 10:01:55 +02:00
Edward Thomson
1ee3c37f48
Merge branch 'pr/5853'
2021-05-19 09:31:30 +01:00
Edward Thomson
319ff34903
Merge pull request #5892 from libgit2/ethomson/memleak
...
tests: clean up memory leak, fail on leak for win32
2021-05-18 20:49:40 +01:00
Edward Thomson
6b1f6e00bf
diff: test ignore-blank-lines
2021-05-18 12:22:22 +01:00
Edward Thomson
1b1e541dd1
tests: clean up refs::races zero oid test
2021-05-18 11:52:51 +01:00
Edward Thomson
a6fb72a8ba
tests: exit with error on win32 leakcheck
2021-05-18 11:52:42 +01:00
Edward Thomson
b5dcdad34d
Merge pull request #5852 from implausible/httpclient/skip-entire-body
...
Fix issues with Proxy Authentication after httpclient refactor
2021-05-16 12:53:58 +01:00
Edward Thomson
3532c5f49a
Merge pull request #5850 from punkymaniac/comment-format
...
Fix documentation formatting
2021-05-16 11:29:47 +01:00
Edward Thomson
9ccb900d76
Merge pull request #5831 from todaysoftware/bindings/libgit2-delphi
...
Update README.md for additional Delphi bindings
2021-05-16 11:14:44 +01:00
Edward Thomson
589443883b
Merge branch 'zero_oid_in_old'
...
Manually merging #5842
2021-05-16 11:11:56 +01:00
Edward Thomson
cf323cb9d9
refs: test git_reference_create_matching failure for zero oid
2021-05-16 11:09:44 +01:00
Edward Thomson
be95f684da
Merge pull request #5839 from staktrace/find_similar
2021-05-13 19:03:00 +01:00
Kartikaya Gupta
2d24690c67
Add testcase
2021-05-12 20:42:25 -04:00
Kartikaya Gupta
4c462bb6f3
diff: Fix bug in git_diff_find_similar.
...
When a split src gets turned into a rename, it should
also lose the IS_RENAME_TARGET flag, so that it doesn't
get processed in a subsequent iteration as a rename target.
Doing so can cause an assertion failure because it no
longer has the SPLIT flag.
Fixes #5811 .
2021-05-12 20:42:19 -04:00
Tyler Ang-Wanek
3473a088c6
httpclient: no proxy creds in requests if proxy is CONNECT type
2021-05-12 11:48:23 -07:00
Tyler Ang-Wanek
049618cebe
httpclient: git_http_client_skip_body should drain socket of body
2021-05-12 11:42:27 -07:00
Edward Thomson
ff78aea6de
Merge pull request #5860 from libgit2/ethomson/buf_text
...
buf: remove unnecessary buf_text namespace
2021-05-11 11:09:31 +01:00
Edward Thomson
05548e6664
Merge pull request #5859 from libgit2/ethomson/filter_buf
...
filter: stop taking git_buf as user input
2021-05-11 11:09:23 +01:00
Edward Thomson
14f6950bce
buf: bom enum is in the buf namespace
...
Instead of a `git_bom_t` that a `git_buf` function returns, let's keep
it `git_buf_bom_t`.
2021-05-11 01:30:58 +01:00
Edward Thomson
d525e063ba
buf: remove internal git_buf_text namespace
...
The `git_buf_text` namespace is unnecessary and strange. Remove it,
just keep the functions prefixed with `git_buf`.
2021-05-11 01:29:22 +01:00
Edward Thomson
31d9c24b33
filter: internal git_buf filter handling function
...
Introduce `git_filter_list__convert_buf` which behaves like the old
implementation of `git_filter_list__apply_data`, where it might move the
input data buffer over into the output data buffer space for efficiency.
This new implementation will do so in a more predictible way, always
freeing the given input buffer (either moving it to the output buffer or
filtering it into the output buffer first).
Convert internal users to it.
2021-05-06 16:32:14 +01:00
Edward Thomson
68b9605acc
filter: deprecate git_filter_list_apply_to_data
...
Deprecate `git_filter_list_apply_to_data` as it takes user input as a
`git_buf`. Users should use `git_filter_list_apply_to_buffer` instead.
2021-05-06 16:31:54 +01:00
Edward Thomson
5309b4654e
filter: introduce git_filter_list_apply_to_buffer
...
Provide a filter application mechanism that takes a user-provided string
and length, instead of a `git_buf`.
2021-05-06 15:24:30 +01:00
Edward Thomson
26846f4cdb
filter: remove git_buf sharing in git_filter_list_apply_to_data
...
The API `git_filter_list_apply_to_data` shares data between its out and
in parameters to avoid unnecessarily copying it when there are no
filters to apply. However, it does so in a manner that is potentially
confusing, leaving both `git_buf`s populated with data. This is risky
for end-users who have to know how to deal with this. Instead, we
remove this optimization - users who want to avoid unnecessary copies
can use the longstanding streaming API or check the filter status before
invoking the filters.
2021-05-06 15:19:58 +01:00
Edward Thomson
9869f1e5a3
filter: deprecate git_filter_list_stream_data
...
`git_filter_list_stream_data` takes user input in a `git_buf`.
`git_buf` should only be used when libgit2 itself needs to allocate data
and returned to a user that they can free when they wish. Replace it
with `git_filter_list_stream_buffer` that takes a data buffer and
length.
2021-05-06 15:06:41 +01:00
Edward Thomson
4bd172087c
Merge pull request #5858 from libgit2/ethomson/memleaks
...
test: clean up memory leaks
2021-05-06 02:28:14 +01:00
Edward Thomson
b31795ef2c
test: clean up memory leaks
2021-05-06 02:04:24 +01:00
Edward Thomson
754fd35863
Merge pull request #5857 from libgit2/ethomson/longpaths
...
Support `core.longpaths` on Windows
2021-05-06 01:42:04 +01:00
Edward Thomson
33667c14eb
win32: add file and get status on a long path
2021-05-06 00:50:18 +01:00