- 27 Jul, 2021 4 commits
-
-
len, array -> array, len
lhchavez committed -
This change introduces a new API function `git_graph_reachable_from_any()`, that answers the question whether a commit is reachable from any of the provided commits through following parent edges. This function can take advantage of optimizations provided by the existence of a `commit-graph` file, since it makes it faster to know whether, given two commits X and Y, X cannot possibly be an reachable from Y. Part of: #5757
lhchavez committed -
commit-graph: Introduce `git_commit_list_generation_cmp`
Edward Thomson committed -
This change makes calculations of merge-bases a bit faster when there are complex graphs and the commit times cause visiting nodes multiple times. This is done by visiting the nodes in the graph in reverse generation order when the generation number is available instead of commit timestamp. If the generation number is missing in any pair of commits, it can safely fall back to the old heuristic with no negative side-effects. Part of: #5757
lhchavez committed
-
- 26 Jul, 2021 1 commit
-
-
commit-graph: Use the commit-graph in revwalks
Edward Thomson committed
-
- 22 Jul, 2021 3 commits
-
-
[Submodule] Git submodule dup
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 20 Jul, 2021 2 commits
-
-
Optional stricter allocation checking (for `malloc(0)` cases)
Edward Thomson committed -
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
Edward Thomson committed
-
- 19 Jul, 2021 5 commits
-
-
Calvin Buckley committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Add `GIT_DEBUG_STRICT_ALLOC` to help identify problematic callers of allocation code that pass a `0` size to the allocators and then expect a non-`NULL` return. When given a 0-size allocation, `malloc` _may_ return either a `NULL` _or_ a pointer that is not writeable. Most systems return a non-`NULL` pointer; AIX is an outlier. We should be able to cope with this AIXy behavior, so this adds an option to emulate it.
Edward Thomson committed
-
- 17 Jul, 2021 1 commit
-
-
This refactors this to a wrapper function, as well as changing the existing API have a va_list and ... version.
Calvin Buckley committed
-
- 16 Jul, 2021 3 commits
-
-
stdintification: use int64_t and INT64_C instead of long long
Edward Thomson committed -
Edward Thomson committed
-
git__timer: Allow compilation on systems without CLOCK_MONOTONIC
Edward Thomson committed
-
- 15 Jul, 2021 2 commits
-
-
For 32-bit int: There's no real reason for that ifdef if we explicitly specify the stdint.h type. For 64-bit int: ope, I made it signed accidentally
Calvin Buckley committed -
Makes usage of CLOCK_MONOTONIC conditional and makes functions that uses git__timer handle clock resynchronization. Call gettimeofday with tzp set to NULL as required by https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html
Peter Pettersson committed
-
- 14 Jul, 2021 5 commits
-
-
Make `FIND_PACKAGE(PythonInterp)` prefer `python3`
Edward Thomson committed -
fix check for ignoring of negate rules
Edward Thomson committed -
Fix wrong time_t used in function
Edward Thomson committed -
config: fix included configs not refreshed more than once
Edward Thomson committed -
This change makes it possible to prefer a python (version 3) interpreter on systems where python2 and python3 coexist (where python2 is found as `/usr/bin/python`).
lhchavez committed
-
- 13 Jul, 2021 2 commits
-
-
Fix memory leak in git_smart__connect
Edward Thomson committed -
git__timer: Limit ITimer usage to AmigaOS4
Edward Thomson committed
-
- 08 Jul, 2021 1 commit
-
-
Calvin Buckley committed
-
- 07 Jul, 2021 4 commits
-
-
Passes w/ gcc 11 on Fedora x64. Protip: So you don;t have to suffer, ``` perl -pe 's/(-?(?:0x)?[A-Fa-f0-9]+)([Uu])?[Ll][Ll]/\U$2INT64_C(\E$1)/mg' ```
Calvin Buckley committed -
Calvin Buckley committed
-
Even on systems without C99 where long long and stdint are both missing, we can shim stdint and point it to any compiler-specific type (i.e long long, _int64, etc.). Also next is constant suffixes and determining what needs to include stdint.
Calvin Buckley committed -
This function doesn't interoperate with any system functions that use the system time_t, but rather only works with the git_time_t type in libgit2, which could be a different width than the system one. Fixes a compile warning.
Calvin Buckley committed
-
- 06 Jul, 2021 1 commit
-
-
Peter Pettersson committed
-
- 02 Jul, 2021 3 commits
-
-
Consider files executable only if the user can execute them
Edward Thomson committed -
Update from regex to pcre licensing information in docs/contributing.md
Edward Thomson committed -
docs: fix some missing includes that cause Docurium to error out
Edward Thomson committed
-
- 29 Jun, 2021 1 commit
-
-
Define WINHTTP_NO_CLIENT_CERT_CONTEXT if needed
Edward Thomson committed
-
- 26 Jun, 2021 1 commit
-
-
Jacques Germishuys committed
-
- 25 Jun, 2021 1 commit
-
-
Edward Thomson committed
-