| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
clar: update to 08f434d
|
| | |/
| |/| |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A repository can have multiple "reserved names" now, not just
a single "short name" for the repository folder itself. Refactor
to include a git_repository__reserved_names that returns all the
reserved names for a repository.
|
|\ \ \ \
| |_|/ /
|/| | | |
Lower case the include directive of windows header
|
| | |/
| |/|
| | | |
Since the Linux platform has a case sensitive file system, the header name should be lower case for cross compiling purposes. (On Linux, the mingw header is called ```windows.h```).
|
|\ \ \
| | | |
| | | | |
Add annotated versions of ref-modying functions
|
| |/ /
| | |
| | |
| | |
| | | |
This also brings the soft-reset tests back to life. The function name
was missing an underscore, meaning they had not been running.
|
|\ \ \
| | | |
| | | | |
Don't ask for a stream's certificate unless it's encrypted
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
When we have an HTTP stream and have set the certificatre check
callback, we currently fail as we ask the unencrypted stream for its
certificate.
|
|\ \ \
| |/ /
|/| | |
Fix git_submodule_sync writing URL to wrong key.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently git_submodule_sync writes the submodule's URL to the
key 'branch.<REMOTE_NAME>.remote' while the reference
implementation of `git submodule sync` writes to
'remote.<REMOTE_NAME>.url', which is the intended behavior
according to git-submodule(1).
|
|/ /
| |
| |
| |
| |
| |
| | |
This was but down to 5 when GitHub made a change to their server which
made them stop honouring the include-tag request.
This has recently been corrected, so we can bring it back up to six.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
git_index_add_frombuffer enables now to store a memory buffer in the odb
and to store an entry in the index directly if the index is attached to a
repository.
|
|\ \
| | |
| | | |
"In-memory" repos are bare by default
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When we rename a reference, we want the old and new ids to be the same
one (as we did not change it). The normal code path looks up the old id
from the current value of the brtanch, but by the time we look it up, it
does not exist anymore and thus we write a zero id.
Pass the old id explicitly instead.
|
|\ \ \
| | | |
| | | | |
Filter relative paths
|
| |/ /
| | |
| | |
| | |
| | | |
Test that filter_list_apply_to_file works and can accept repo-relative
paths.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Fix crash in git_clone on extremely large repos
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
Clear the error message on git_libgit2_shutdown for all versions of
the library (no threads and Win32 threads). Drop the giterr_clear
in clar, as that shouldn't be necessary.
|
|\ \
| | |
| | | |
Set up git_trace in clar test suite.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
diff_tform: don't compare empty hashsig_heaps
|
| | | |
| | | |
| | | |
| | | |
| | | | |
When comparing seemingly blank files, take whitespace options into
account.
|
| | | |
| | | |
| | | |
| | | | |
Don't try to compare two empty hashsig_heaps.
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changes the get_entry() method to return a refcounted version of
the config entry, which you have to free when you're done.
This allows us to avoid freeing the memory in which the entry is stored
on a refresh, which may happen at any time for a live config.
For this reason, get_string() has been forbidden on live configs and a
new function get_string_buf() has been added, which stores the string in
a git_buf which the user then owns.
The functions which parse the string value takea advantage of the
borrowing to parse safely and then release the entry.
|
| | | |
|
|\ \ \
| | | |
| | | | |
stash: correctly stash wd modified/index deleted
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We want to use the "checkout: moving from ..." message in order to let
git know when a change of branch has happened. Make the convenience
functions for this goal write this message.
|
| | | |
| | | |
| | | |
| | | | |
We always use "update by push".
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This function is meant to simulate what git does in the reset command,
so we should include the reflog message in that.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |_|/ /
|/| | | |
Allow checkout to handle newly cloned repositories, remove `GIT_CHECKOUT_SAFE_CREATE`
|
| | | | |
|
| | | | |
|