| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
|\ \ \
| |/ /
|/| | |
config: add parsing and getter for paths
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On case insensitive filesystems, we may have files in the working
directory that case fold to a name we want to write. Remove those
files (by default) so that we will not end up with a filename that
has the unexpected case.
|
| | |
| | |
| | |
| | | |
Symbolic links that abuse case insensitivity to write into .git.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The documentation for `git_path_join_unrooted` states that the base
length will be returned, so that consumers like checkout know where
to start creating directories instead of always creating directories
at the directory root.
|
| | |
| | |
| | |
| | |
| | | |
Checkout can now provide performance data about the number of (some)
syscalls performed using an optional callback.
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
Main change: Don't treat chars > 128 as non-printable (common in UTF-8 files)
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
files
The implementation of the hashsig API disallows computing a signature on
small files containing only a few lines. This new flag disables this
behavior.
git_diff_find_similar() sets this flag by default which means that rename
/ copy detection of small files will now work. This in turn affects the
behavior of the git_status and git_blame APIs which will now detect rename
of small files assuming the right options are passed.
|
|\ \
| | |
| | |
| | | |
Fix crash in free() when git_buf_grow() fails.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove symlinks from the repository
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove the hook symlink from the test resources, so that we can
have a source tree that is easy to zip up and copy around on systems
that don't support symlinks. Create it dynamically at test execution
instead.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Load prune configuration when a remote is created.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This introduces the functionality of submodule update in
'git_submodule_do_update'. The existing 'git_submodule_update' function is
renamed to 'git_submodule_update_strategy'. The 'git_submodule_update'
function now refers to functionality similar to `git submodule update`,
while `git_submodule_update_strategy` is used to get the configured value
of submodule.<name>.update.
|
| | |/
| |/|
| | |
| | |
| | | |
Submodule init should handle relative paths in .gitmodules files
and resolve these urls when updating the git config file.
|
| |/
|/| |
|
|\ \
| | |
| | | |
Remote-tracking branch prunning
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This option does not get persisted to disk, which makes it different
from the rest of the setters. Remove it until we go all the way.
We still respect the configuration option, and it's still possible to
perform a one-time prune by calling the function.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is hiding a bug in the prune code, whereby we prune references we
shouldn't but don't notice it in the code afterwards because
update_tips() recreates them.
This means that we do perform changes to the references (and get rid of
the reflogs) when we shouldn't.
|
| | |
| | |
| | |
| | |
| | | |
We load the remote again, so we need to ask the new remote to prune the
refs, or we're not exercising the code in our tests.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
remote: remove git_push from the public API
|
| |/ /
| | |
| | |
| | |
| | | |
Instead we provide git_remote_upload() and git_remote_update_tips() in
order to have a parallel API for fetching and pushing.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This function is a constructor, so let's name it like one and leave
_create() for the reference functions, which do create/write the
reference.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On a case-insensitive filesystem, we need to deal with case-changing
renames (eg, foo -> FOO) by removing the old and adding the new,
exactly as if we were on a case-sensitive filesystem.
Update the `checkout::tree::can_cancel_checkout_from_notify` test, now
that notifications are always sent case sensitively.
|
| |/
|/| |
|
|\ \
| | |
| | | |
Show progress output on fetch for the local transport
|
| |/
| |
| |
| |
| |
| | |
We do not currently generate any messages when we're counting the
objects, as might be expected from a local upload-pack. Assert that we
do call the function when working.
|
| | |
|
| | |
|