Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0060d9c

Browse files
authored
Merge pull request#7084 from libgit2/ethomson/v1.9.1
2 parents338e6fb +4bb0ece commit0060d9c

File tree

48 files changed

+672
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+672
-242
lines changed

‎.github/workflows/experimental.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
runs-on:ubuntu-latest
114114
steps:
115115
-name:Download test results
116-
uses:actions/download-artifact@v3
116+
uses:actions/download-artifact@v4
117117
-name:Generate test summary
118118
uses:test-summary/action@v2
119119
with:

‎AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Shawn O. Pearce
7070
Shuhei Tanuma
7171
Steve Frécinaux
7272
Sven Strickroth
73+
Talya "kivikakk" Connor
7374
Tim Branyen
7475
Tim Clem
7576
Tim Harder

‎CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
cmake_minimum_required(VERSION3.5.1)
88

9-
project(libgit2VERSION"1.9.0"LANGUAGESC)
9+
project(libgit2VERSION"1.9.1"LANGUAGESC)
1010

1111
# Add find modules to the path
1212
set(CMAKE_MODULE_PATH${CMAKE_MODULE_PATH}"${PROJECT_SOURCE_DIR}/cmake")

‎cmake/DefaultCFlags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if(MSVC)
5656
set(CMAKE_C_FLAGS_MINSIZEREL"/DNDEBUG /O1 /Oy /GL /Gy${CRT_FLAG_RELEASE}")
5757

5858
# /IGNORE:4221 - Ignore empty compilation units
59-
set(CMAKE_STATIC_LINKER_FLAGS"/IGNORE:4221")
59+
set(CMAKE_STATIC_LINKER_FLAGS"${CMAKE_STATIC_LINKER_FLAGS}/IGNORE:4221")
6060

6161
# /DYNAMICBASE - Address space load randomization (ASLR)
6262
# /NXCOMPAT - Data execution prevention (DEP)

‎cmake/SelectSSH.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ elseif(USE_SSH STREQUAL ON OR USE_SSH STREQUAL "libssh2")
4242
elseif(USE_SSHSTREQUALOFFORUSE_SSHSTREQUAL"")
4343
add_feature_info(SSHOFF"SSH transport support")
4444
else()
45-
message(FATAL_ERROR"unknown SSH option:${USE_HTTP_PARSER}")
45+
message(FATAL_ERROR"unknown SSH option:${USE_SSH}")
4646
endif()

‎docs/changelog.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,93 @@
1+
v1.9.1
2+
------
3+
4+
This release includes a number of bugfixes and compatibility
5+
improvements.
6+
7+
##What's Changed
8+
9+
###Bug fixes
10+
11+
* hash: allow`unsigned int` !=`size_t` in sha256 by@ethomson in
12+
https://github.com/libgit2/libgit2/pull/6996
13+
* include: Fix code comment termination by@florianpircher in
14+
https://github.com/libgit2/libgit2/pull/6997
15+
* alternates: allow relative paths in all repositories by@vapier
16+
inhttps://github.com/libgit2/libgit2/pull/7019
17+
* Fix potential null dereference by@peter15914 in
18+
https://github.com/libgit2/libgit2/pull/6998
19+
* cli: fix undefined alloca() on CYGWIN by@carlo-bramini in
20+
https://github.com/libgit2/libgit2/pull/7022
21+
* attr: honor ignorecase in attribute matching by@ethomson in
22+
https://github.com/libgit2/libgit2/pull/7018
23+
* tag: Refuse to use HEAD as a tagname by@csware in
24+
https://github.com/libgit2/libgit2/pull/7061
25+
* Fix memory leak in openssl fips modes by@wklatka in
26+
https://github.com/libgit2/libgit2/pull/7064
27+
* Fix circular includes between types.h and oid.h by@georgthegreat
28+
inhttps://github.com/libgit2/libgit2/pull/7059
29+
* diff: correct diff stat alignment in presence of renames w/ common
30+
prefix. by@kivikakk inhttps://github.com/libgit2/libgit2/pull/7057
31+
* Revert include path regression by@ytnuf in
32+
https://github.com/libgit2/libgit2/pull/7039
33+
34+
###Build and CI improvements
35+
36+
* benchmarks: update path to baseline cli by@ethomson in
37+
https://github.com/libgit2/libgit2/pull/7006
38+
* Update SelectSSH.cmake by@lrm29 in
39+
https://github.com/libgit2/libgit2/pull/7012
40+
* ci: update download-artifact version by@ethomson in
41+
https://github.com/libgit2/libgit2/pull/7038
42+
* install cmake files into configured libdir by@kanavin in
43+
https://github.com/libgit2/libgit2/pull/7004
44+
* Test updates by@ethomson in
45+
https://github.com/libgit2/libgit2/pull/7025
46+
* conflict tests: check`core.ignorecase` by@emilazy in
47+
https://github.com/libgit2/libgit2/pull/7026
48+
* Include common.h in version.h by@ethomson in
49+
https://github.com/libgit2/libgit2/pull/7030
50+
* clar: update to latest version by@ethomson in
51+
https://github.com/libgit2/libgit2/pull/7029
52+
* Fix MSVC cross compilation by@Faless in
53+
https://github.com/libgit2/libgit2/pull/7079
54+
* fuzzers: Fix CFLAGS by@nelhage in
55+
https://github.com/libgit2/libgit2/pull/7044
56+
* Avoid duplicate definition of`git_http_auth_dummy`. by
57+
@JohannesWilde inhttps://github.com/libgit2/libgit2/pull/7077
58+
59+
###Documentation improvements
60+
61+
* docs: add`update_refs` as ABI breaking change by@ethomson
62+
inhttps://github.com/libgit2/libgit2/pull/7005
63+
* docs: correct wrong docstring info for`git_remote_url` by
64+
@DominiqueFuchs inhttps://github.com/libgit2/libgit2/pull/7076
65+
66+
##New Contributors
67+
68+
*@peter15914 made their first contribution in
69+
https://github.com/libgit2/libgit2/pull/6998
70+
*@kanavin made their first contribution in
71+
https://github.com/libgit2/libgit2/pull/7004
72+
*@carlo-bramini made their first contribution in
73+
https://github.com/libgit2/libgit2/pull/7022
74+
*@vapier made their first contribution in
75+
https://github.com/libgit2/libgit2/pull/7019
76+
*@emilazy made their first contribution in
77+
https://github.com/libgit2/libgit2/pull/7026
78+
*@ytnuf made their first contribution in
79+
https://github.com/libgit2/libgit2/pull/7039
80+
*@DominiqueFuchs made their first contribution in
81+
https://github.com/libgit2/libgit2/pull/7076
82+
*@wklatka made their first contribution in
83+
https://github.com/libgit2/libgit2/pull/7064
84+
*@kivikakk made their first contribution in
85+
https://github.com/libgit2/libgit2/pull/7057
86+
*@JohannesWilde made their first contribution in
87+
https://github.com/libgit2/libgit2/pull/7077
88+
89+
**Full Changelog**:https://github.com/libgit2/libgit2/compare/v1.9.0...v1.9.1
90+
191
v1.9.0
292
------
393

@@ -71,6 +161,13 @@ maintainers of bindings or FFI users, may want to be aware of.
71161
to provide a mechanism to nicely free the configuration entries that
72162
they provide.
73163

164+
***`update_refs` callback for remotes** (ABI breaking change)
165+
The`update_refs` callback was added to the`git_remote_callbacks`
166+
structure to provide additional information about updated refs;
167+
in particular, the`git_refspec` is included for more information
168+
about the remote ref. The`update_refs` callback will be
169+
preferred over the now deprecated`update_tips` callback.
170+
74171
##What's Changed
75172

76173
###New features

‎fuzzers/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
if(BUILD_FUZZERSANDNOTUSE_STANDALONE_FUZZERS)
44
set(CMAKE_REQUIRED_FLAGS"-fsanitize=fuzzer-no-link")
5-
add_c_flag(-fsanitize=fuzzer)
65
add_c_flag(-fsanitize=fuzzer-no-link)
76
unset(CMAKE_REQUIRED_FLAGS)
87
endif()
@@ -24,6 +23,9 @@ foreach(fuzz_target_src ${SRC_FUZZERS})
2423
target_include_directories(${fuzz_target_name}SYSTEMPRIVATE${LIBGIT2_SYSTEM_INCLUDES})
2524

2625
target_link_libraries(${fuzz_target_name}${LIBGIT2_SYSTEM_LIBS})
26+
if(NOTUSE_STANDALONE_FUZZERS)
27+
target_link_options(${fuzz_target_name}PRIVATE"-fsanitize=fuzzer")
28+
endif()
2729

2830
add_test(${fuzz_target_name}"${CMAKE_CURRENT_BINARY_DIR}/${fuzz_target_name}""${CMAKE_CURRENT_SOURCE_DIR}/corpora/${fuzz_name}")
2931
endforeach()

‎include/git2/oid.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#defineINCLUDE_git_oid_h__
99

1010
#include"common.h"
11-
#include"types.h"
1211
#include"experimental.h"
1312

1413
/**

‎include/git2/remote.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ GIT_EXTERN(const char *) git_remote_name(const git_remote *remote);
249249
/**
250250
* Get the remote's url
251251
*
252-
* If url.*.insteadOf has been configured for this URL, it will
253-
*returnthe modified URL. If `git_remote_set_instance_pushurl`
254-
*hasbeencalled for this remote, then that URL will be returned.
252+
* If url.*.insteadOf has been configured for this URL, it will return
253+
* the modified URL.This function does not consider if a push url has
254+
* beenconfigured for this remote (use `git_remote_pushurl` if needed).
255255
*
256256
* @param remote the remote
257257
* @return a pointer to the url

‎include/git2/stdint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ typedef uint64_t uintmax_t;
221221
#endif/* __STDC_LIMIT_MACROS ] */
222222

223223

224-
/* 7.18.4 Limits of other integer types
224+
/* 7.18.4 Limits of other integer types */
225225

226226
#if !defined(__cplusplus)|| defined(__STDC_CONSTANT_MACROS)/* [ See footnote 224 at page 260 */
227227

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp