- 15 Jun, 2018 21 commits
-
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Emilio Cobos Álvarez committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Emilio Cobos Álvarez committed
-
Also matches git.
Emilio Cobos Álvarez committed -
Emilio Cobos Álvarez committed
-
This matches git.
Emilio Cobos Álvarez committed -
Not that it matters much anyway but...
Emilio Cobos Álvarez committed -
Emilio Cobos Álvarez committed
-
Nika Layzell committed
-
Nika Layzell committed
-
Emilio Cobos Álvarez committed
-
- 12 Jun, 2018 4 commits
-
-
docs: fix statement about tab width
Edward Thomson committed -
diff: fix enum value being out of allowed range
Edward Thomson committed -
The libgit2 project mostly follows the coding style of git and thus the linux project. While those two projects use a recommended tab width of eight spaces, we instruct users to set their editor's tab width to four spaces. Fix this to say eight instead.
Patrick Steinhardt committed -
The C89 standard states in §6.7.2.2 "Enumeration specifiers": > The expression that defines the value of an enumeration constant shall > be an integer constant expression that has a value representable as an > int. On most platforms, this effectively limits the range to a 32 bit signed integer. The enum `git_diff_option_t` though recently gained an entry `GIT_DIFF_INDENT_HEURISTIC = (1u << 31)`, which breaks this limit. Fix the issue by using a gap in `git_diff_option_t`'s enum values. While this has the benefit of retaining our API, it may break applications which do not get recompiled after upgrading libgit2. But as we are bumping the soversion on each release anyway and thus force a recompile of dependents, this is not a problem.
Patrick Steinhardt committed
-
- 11 Jun, 2018 3 commits
-
-
pack: rename `git_packfile_stream_free`
Edward Thomson committed -
Stop leaking the memory
Edward Thomson committed -
Edward Thomson committed
-
- 10 Jun, 2018 5 commits
-
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
The function `git_packfile_stream_free` frees all state of the packfile stream without freeing the structure itself. This naming makes it hard to spot whether it will try to free the pointer itself or not, causing potential future errors. Due to this reason, we have decided to name a function freeing state without freeing the actual struture a "dispose" function. Rename `git_packfile_stream_free` to `git_packfile_stream_dispose` as a first example following this rule.
Patrick Steinhardt committed -
Edward Thomson committed
-
- 09 Jun, 2018 7 commits
-
-
Fix stash save bug with fast path index check
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
We've introduced a manifest for the clib version system that includes a version number; we should update it at release time to correspond with the version number in the header.
Edward Thomson committed -
This PR introduces a new top-level file, `package.json`, which enables this repository compatibility with [`clib`](https://github.com/clibs/clib), an open source C package manager. By doing this, users of `clib` can quickly include the `libgit2` library within their project.
Alexander Jung committed -
path: unify `git_path_is_*` APIs
Edward Thomson committed -
Fix negative gitignore rules with leading directories
Edward Thomson committed
-