- 26 Jul, 2023 3 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Instead of special casing `--help`, reorder the arguments for subcommands so that it can handle "global" arguments like `--help`, `-c key=value`, etc.
Edward Thomson committed
-
- 25 Jul, 2023 8 commits
-
-
Introduce `cli_repository_open` which will reparse command-line options looking for `-c` or `--config-env`. Add those values to an in-memory configuration database and configure the opened repository with that.
Edward Thomson committed -
Add a `config` command with `--list` and `--get`.
Edward Thomson committed -
Provide two memory-backed configuration backends -- one that takes a string in config file format `[section] key=value` and one that takes a list of strings in `section.key=value` format.
Edward Thomson committed -
Edward Thomson committed
-
A git_config_entry now knows the type of the origin for the entry ("file", "memory", etc) and the path details (for files, the path on disk). This is propagated through snapshots.
Edward Thomson committed -
The opaque `payload` on an entry is unnecessary and distracting; config entries should follow the patterns of other objects and use space elsewhere in the structure with a "base" config entry struct embedded.
Edward Thomson committed -
Edward Thomson committed
-
Don't set entry data when we "get" an entry from the collection, add the data to the entry before it's put into the collection. This keeps the entry creation logic in a single place.
Edward Thomson committed
-
- 22 Jul, 2023 1 commit
-
-
fix: Add missing include for oidarray.
Edward Thomson committed
-
- 21 Jul, 2023 1 commit
-
-
Add a missing include for `git2/oidarray.h` so build doesn't fail on using `git_oidarray` when using custom transports. Fixes #6607
David Runge committed
-
- 18 Jul, 2023 2 commits
-
-
repository: make cleanup safe for re-use with grafts
Edward Thomson committed -
We are allowed to call `git_repository__cleanup` multiple times, and this happens e.g. in rugged if we want to free up resources before GC gets around to them. This means that we cannot leave dangling pointers in it, which we were doing with the grafts. Fix this by setting the pointers to NULL after freeing the resources.
Carlos Martín Nieto committed
-
- 17 Jul, 2023 5 commits
-
-
meta: update version numbers to v1.8
Edward Thomson committed -
Edward Thomson committed
-
v1.7: release Kleine Raupe Nimmersatt
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 15 Jul, 2023 9 commits
-
-
deps: update pcre to 8.45
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
#6576 git_diff_index_to_workdir reverse now loads untracked content
Edward Thomson committed -
tests: add allocator with limited number of bytes
Edward Thomson committed -
Fixes #6344: git_branch_move now renames the reflog instead of deleting.
Edward Thomson committed -
Partial fix for #6532: insert-by-date order.
Edward Thomson committed -
midx: do not try to look at every object in the index
Edward Thomson committed
-
- 14 Jul, 2023 4 commits
-
-
pack: cast the number of objects to size_t
Edward Thomson committed -
CMake: Search for ssh2 instead of libssh2.
Edward Thomson committed -
midx: allow unknown chunk ids in multi-pack index files
Edward Thomson committed -
docs: fix IRC server from freenode to libera
Edward Thomson committed
-
- 09 Jul, 2023 1 commit
-
-
This commit update the contributing documents with the new IRC server and remove the old freenode. Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Vincenzo Palazzo committed
-
- 25 Jun, 2023 1 commit
-
-
Fixes "CMake Error: could not resolve ssh2" on Windows-MSVC.
Fabio Alessandrelli committed
-
- 22 Jun, 2023 3 commits
-
-
Similar to previous issues around doing way too much verification at loading time, checking whether the object index chunk is monotonic is better left for git-fsck instead of every single time we want to look at something in the repository. As midx files grow, this starts taking more and more times. As an example, I went looking for this because it's taking about 1.5s to do a single object lookup in a repository that's ended up with a 7G multi-pack-index file.
Carlos Martín Nieto committed -
Similar to a previous change where we had to change the casting when loading the index file, we also need to make sure we don't restrict the numbers to 32-bit when looking up objects in packfiles. This was done about three years ago in git itself, but we never got he update in this library.
Carlos Martín Nieto committed -
These chunks work like extensions where it's fine not to know what one means. We can skip over it and keep processing the file instead of erroring out.
Carlos Martín Nieto committed
-
- 10 Jun, 2023 1 commit
-
-
Miguel Arroz committed
-
- 16 May, 2023 1 commit
-
-
Edward Thomson committed
-