115 Commits

Author SHA1 Message Date
Edward Thomson
f199afea5c v1.9.4: update changelog 2026-05-21 18:57:38 +01:00
Edward Thomson
1affb8b193 Final final v1.9.3 updates (#7250) 2026-05-04 22:25:59 +01:00
Edward Thomson
397548d94f v1.9.3: update changelog 2026-05-02 08:55:40 +01:00
Edward Thomson
378d62d278 v1.9.3: update changelog 2026-04-30 23:28:37 +01:00
Sam Altier
70f40971e6 docs: update link to git.git-authors 2026-04-29 10:11:20 +01:00
Edward Thomson
ca225744b9 v1.9.2: update changelog and version numbers 2025-12-02 21:51:10 +00:00
Edward Thomson
4a4d6ee080 v1.9.1: update changelog 2025-06-06 14:40:38 +01:00
Edward Thomson
e855bd57c6 docs: add update_refs as ABI breaking change
In v1.9, we failed to document that `update_refs` was a breaking change.
Add information about this change to the ABI breaking changes section.
2025-06-06 13:58:55 +01:00
Edward Thomson
1329f1a1db v1.9: final changelog updates 2024-12-28 10:02:09 +00:00
Edward Thomson
a8fbbf77b8 Merge pull request #6986 from libgit2/ethomson/warn_sha1
cmake: warn for not using sha1dc
2024-12-28 09:58:25 +00:00
Edward Thomson
550cf62021 cmake: warn for not using sha1dc
git's hash algorithm is sha1dc, it is not sha1. Per Linus:

> Honestly, git has effectively already moved from SHA1 to SHA1DC.
>
> So the actual known attack and weakness of SHA1 should simply not be
> part of the discussion for the next hash. You can basically say "we're
> _already_ on the second hash, we just picked one that was so
> compatible with SHA1 that nobody even really noticed.

Warn users who try to compile with SHA1 instead of SHA1DC.
2024-12-28 09:52:42 +00:00
Edward Thomson
3aeb5bd0f6 meta: revert soname version update
Changing our SONAME / ABI version update policy without an announcement
is a breaking change. Provide time to announce a policy update.
2024-12-28 08:30:39 +00:00
Edward Thomson
e96e250446 v1.9: update changelog 2024-12-28 01:00:19 +00:00
Edward Thomson
ab0e1606b4 docs: include v1.8.4 changelog 2024-12-16 10:56:31 +00:00
Edward Thomson
48b63274ea v1.8.2: update changelog 2024-06-13 19:42:55 +02:00
Edward Thomson
ae65dac85e v1.8.1: update changelog 2024-05-16 00:49:46 +01:00
Edward Thomson
69f2577110 v1.8: update changelog 2024-03-20 08:21:43 +00:00
Edward Thomson
c375d0b7c8 v1.7: update changelog 2023-07-17 10:33:28 +01:00
Vincenzo Palazzo
27b40287a0 docs: fix IRC server from freenode to libera
This commit update the contributing documents with the
new IRC server and remove the old freenode.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-07-09 16:49:46 +02:00
Edward Thomson
a1826a8b1b v1.6.3: update changelog 2023-03-21 10:15:25 +00:00
Edward Thomson
25ec37379e v1.6.2: update changelog 2023-02-28 10:22:07 +00:00
Edward Thomson
8a871d13b7 v1.6.1: correct missing version number updates 2023-02-25 13:53:43 +00:00
Edward Thomson
c5b306020d v1.6: update the changelog 2023-02-24 22:21:41 +00:00
Edward Thomson
2030358070 v1.5: update the changelog 2022-07-13 12:50:01 -04:00
Edward Thomson
bafd044fd9 v1.4: update the changelog 2022-02-13 10:07:49 -05:00
Edward Thomson
aae54d5b3c Merge pull request #6138 from ccstolley/ccs_packedrefs_fast
refs: Speed up packed lookups.
2022-01-30 13:43:43 -05:00
Edward Thomson
616628ddc9 Merge branch 'main' into typos 2022-01-17 21:39:35 -05:00
Edward Thomson
240c195fe5 docs: document our API/ABI stability stance 2022-01-06 15:18:32 -05:00
Dimitris Apostolou
90df43022a Fix typos 2022-01-05 16:35:52 +02:00
Colin Stolley
ad7a51d834 refs: Speed up packed lookups.
Currently ref lookups require loading the entire packed-refs file into
a hashmap in memory. For repos with large numbers of refs this can be
painfully slow.

This patch replaces the existing lookup code and instead mmap()'s the
packed-refs file and performs a binary search to locate the ref entry.
Git uses a similiar approach.

The old hash table codepath is still used for unsorted packed-refs files.

This patch also fixes a minor bug where the "peeled" trait is never
parsed correctly from the packed-refs header.
2021-12-14 10:07:03 -06:00
Edward Thomson
9324d16e73 cmake: standardize USE_THREADS and USE_NSEC
Threading can now be disabled with `USE_THREADS=OFF` instead of
`THREADSAFE=OFF` to better support the other cmake semantics.

Nanosecond support is the default _if_ we can detect it.  This should be
our default always - like threads - and people can opt out explicitly.
2021-11-11 15:56:10 -05:00
Josh Triplett
644c763b76 Document that git_odb is thread-safe
Commit 4ae41f9c63 made `git_odb`
race-free, and added internal locking. Update `docs/threading.md`
accordingly, so that APIs built atop libgit2 (e.g. language bindings)
can count on this.
2021-11-11 00:30:40 +01:00
Martin Kühl
f66e7f36ff libgit2_clar is now libgit2_tests
in #6083 the test runner was renamed to libgit2_tests,
but not all references to the old name were updated.
this change changes all of them to use the new name.
2021-10-28 10:25:09 +02:00
Edward Thomson
4e14d4c6a6 cmake: BUILD_CLAR is now BUILD_TESTS
Nobody knows what CLAR is.  The test building option should be
`BUILD_TESTS`.
2021-10-17 13:05:32 -04:00
Edward Thomson
5346be3ddd docs: document git_buf
We have been inconsistent about the way that we handle `git_buf`s
provided by users.  _Usually_ we require that it has been properly
initialized with `GIT_BUF_INIT`, but _sometimes_ we simply overwrite
the data in it regardless.  And even more rarely, we will grow a
user-provided buffer and concatenate data onto it (see
`git_diff_format_email`).

Document the path forward for `git_buf`, which is that we always
require that the buffer is intitialized with `GIT_BUF_INIT`.

`git_diff_format_email` will be kept backward compatible but users
are encouraged to switch to the new `git_email` APIs.
2021-10-17 09:40:20 -04:00
Edward Thomson
b7bad55e4b v1.3: very very last-minute changelog updates 2021-09-27 16:09:50 -04:00
Edward Thomson
13f1270a7a v1.3: changelog updates for last-minute changes 2021-09-27 08:58:50 -04:00
Edward Thomson
136901086e changelog: separate releases with a horizontal rule 2021-09-22 15:31:21 -04:00
Edward Thomson
61bbb2d11a changelog: fix typo 2021-09-22 15:28:23 -04:00
Edward Thomson
e0531f2c14 v1.3: changelog 2021-09-22 08:49:22 -04:00
Edward Thomson
0e585d368e v1.2: changelog 2021-08-31 00:19:01 -04:00
Edward Thomson
9937967efd Merge branch 'main' into http-use-eauth 2021-08-29 21:29:14 -04:00
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
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
Etienne Samson
a25cba2c0f docs: fix incorrect comment marker 2021-05-27 10:01:55 +02:00
Edward Thomson
78abfb172b docs: document core.longpaths support 2021-04-14 23:02:51 +01:00
Edward Thomson
8aed4629b1 cmake: rename MSVC_CRTDBG to WIN32_LEAKCHECK 2020-11-21 21:54:13 +00:00
Edward Thomson
8b0c7d7cdf changelog: include new reference validity functions 2020-10-25 16:38:45 +00:00