- 23 Feb, 2022 1 commit
-
-
Like we want to separate libgit2 and utility source code, we want to separate libgit2 and utility tests. Start by moving all the tests into libgit2.
Edward Thomson committed
-
- 31 Jan, 2022 1 commit
-
-
A bare '@' revision syntax represents HEAD. Support it as such.
Edward Thomson committed
-
- 09 Nov, 2021 1 commit
-
-
Introduce `git_fs_path`, which operates on generic filesystem paths. `git_path` will be kept for only git-specific path functionality (for example, checking for `.git` in a path).
Edward Thomson committed
-
- 21 Oct, 2021 2 commits
-
-
Yoichi Nakayama committed
-
For better compatibility with git command which returns the oldest log entry with a warning message.
Yoichi Nakayama committed
-
- 17 Oct, 2021 1 commit
-
-
libgit2 has two distinct requirements that were previously solved by `git_buf`. We require: 1. A general purpose string class that provides a number of utility APIs for manipulating data (eg, concatenating, truncating, etc). 2. A structure that we can use to return strings to callers that they can take ownership of. By using a single class (`git_buf`) for both of these purposes, we have confused the API to the point that refactorings are difficult and reasoning about correctness is also difficult. Move the utility class `git_buf` to be called `git_str`: this represents its general purpose, as an internal string buffer class. The name also is an homage to Junio Hamano ("gitstr"). The public API remains `git_buf`, and has a much smaller footprint. It is generally only used as an "out" param with strict requirements that follow the documentation. (Exceptions exist for some legacy APIs to avoid breaking callers unnecessarily.) Utility functions exist to convert a user-specified `git_buf` to a `git_str` so that we can call internal functions, then converting it back again.
Edward Thomson committed
-
- 31 Jan, 2021 1 commit
-
-
The information about the type of a revision spec is not information about the parser. Name it accordingly, so that `git_revparse_mode_t` is now `git_revspec_t`. Deprecate the old name.
Edward Thomson committed
-
- 10 Jun, 2018 1 commit
-
-
Patrick Steinhardt committed
-
- 05 May, 2017 1 commit
-
-
Support '..' and '...' ranges where one side is not specified. The unspecified side defaults to HEAD. Closes #4223
William Bain committed
-
- 26 Jun, 2015 1 commit
-
-
Vicent Marti committed
-
- 03 Mar, 2015 2 commits
-
-
This namespace is about behaving like git's branch command, so let's do exactly that instead of taking a reflog message. This override is still available via the reference namespace.
Carlos Martín Nieto committed -
The signature for the reflog is not something which changes dynamically. Almost all uses will be NULL, since we want for the repository's default identity to be used, making it noise. In order to allow for changing the identity, we instead provide git_repository_set_ident() and git_repository_ident() which allow a user to override the choice of signature.
Carlos Martín Nieto committed
-
- 22 Nov, 2014 1 commit
-
-
There are some combination of objects and target types which we know cannot be fulfilled. Return EINVALIDSPEC for those to signify that there is a mismatch in the user-provided data and what the object model is capable of satisfying. If we start at a tag and in the course of peeling find out that we cannot reach a particular type, we return EPEEL.
Carlos Martín Nieto committed
-
- 30 Jan, 2014 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 15 Jan, 2014 1 commit
-
-
Any well-behaved program should write a descriptive message to the reflog whenever it updates a reference. Let's make this more prominent by removing the version without the reflog parameters.
Carlos Martín Nieto committed
-
- 14 Nov, 2013 1 commit
-
-
Ben Straub committed
-
- 10 Sep, 2013 1 commit
-
-
nulltoken committed
-
- 13 Jul, 2013 1 commit
-
-
Fix #1722
nulltoken committed
-
- 16 May, 2013 2 commits
- 15 May, 2013 1 commit
-
-
nulltoken committed
-
- 15 Apr, 2013 4 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
This will probably prevent many lookup/free operations in calling code.
Ben Straub committed -
Ben Straub committed
-
- 09 Apr, 2013 1 commit
-
-
Ben Straub committed
-
- 08 Apr, 2013 1 commit
-
-
Ben Straub committed
-
- 07 Apr, 2013 2 commits
-
-
Vicent Marti committed
-
Signed-off-by: Greg Price <price@mit.edu>
Greg Price committed
-
- 07 Mar, 2013 1 commit
-
-
Edward Thomson committed
-
- 03 Feb, 2013 2 commits
- 01 Dec, 2012 2 commits
- 27 Nov, 2012 1 commit
-
-
Ben Straub committed
-
- 18 Oct, 2012 1 commit
-
-
Fix #994
nulltoken committed
-
- 25 Aug, 2012 1 commit
-
-
Revparse now returns EAMBIGUOUS if the the spec doesn't match any refs/tags, and is <4 characters.
Ben Straub committed
-
- 23 Jul, 2012 1 commit
-
-
Asking the library for "" used to give HEAD, but that's trying to impose a default at the wrong layer. Make it fail.
Carlos Martín Nieto committed
-
- 15 Jul, 2012 1 commit
-
-
nulltoken committed
-