- 14 Apr, 2014 1 commit
-
-
Jacques Germishuys committed
-
- 07 Apr, 2014 2 commits
-
-
Jacques Germishuys committed
-
Add support for ** matches in ignores
Vicent Marti committed
-
- 06 Apr, 2014 4 commits
-
-
Russell Belfer committed
-
Russell Belfer committed
-
Don't lose our elements when calling git_vector_set()
Vicent Marti committed -
Jacques Germishuys committed
-
- 05 Apr, 2014 1 commit
-
-
This is an experimental addition to add ** support to fnmatch pattern matching in libgit2. It needs more testing.
Russell Belfer committed
-
- 04 Apr, 2014 2 commits
-
-
Improve submodule cache management
Vicent Marti committed -
Retry committing locked files on error
Vicent Marti committed
-
- 03 Apr, 2014 8 commits
-
-
I wrote this stuff a while ago and forgot to write tests. Wanted to do so now to wrap up the PR and immediately found problems.
Russell Belfer committed -
Russell Belfer committed
-
The base for the relative urls is determined as follows, with descending priority: - remote url of HEAD's remote tracking branch - remote "origin" - workdir This follows git.git behaviour
Jan Melcher committed -
Jan Melcher committed
-
Const correctness!
Vicent Marti committed -
Jacques Germishuys committed
-
Handle an upstream branch for an unborn one
Vicent Marti committed -
Skip tests on Clar
Vicent Marti committed
-
- 02 Apr, 2014 13 commits
-
-
When the current branch is unborn, git will still mark the current branch's upstream for-merge if there is an upstream configuration. The only non-constrived case is cloning from an empty repository which then gains history. origin's master should be marked for-merge. In order to do this, we cannot use the high-level wrappers that expect a reference, as we may not have one. Move over to the internal ones that expect a reference name, which we do have.
Carlos Martín Nieto committed -
Cloning from an empty repo must set master's upstream to origin's master, even if neither of them exist. Fetching from a non-empty origin must then mark the master branch for-merge. This currently fails.
Carlos Martín Nieto committed -
Vicent Marti committed
-
Fix submodule_is_config_only's return value
Vicent Marti committed -
Jiri Pospisil committed
-
No need to find merge base.
Vicent Marti committed -
Russell Belfer committed
-
Correct a stale reference to GIT_EBAREINDEX
Vicent Marti committed -
Per @carlosmn, git_index_add is now named git_index_add_bypath.
Rob Rix committed -
Skip untracked contained repo contents even with gitlink files
Vicent Marti committed -
One blame test replies on being run from within the libgit2 repository to leverage having a longer history to play with, but some bundled versions of libgit2 don't have the whole libgit2 history. This just skips that test if the repository can't be opened.
Russell Belfer committed -
Russell Belfer committed
-
When doing a diff for use in status, we should never show the content of a git repository contained inside another one. The logic to do this was looking for a .git directory and so when a gitlink plain .git file was used, it was failing to exclude the directory content.
Russell Belfer committed
-
- 01 Apr, 2014 9 commits
-
-
There was a little bug where the submodule cache thought that the index date was out of date even when it wasn't that was resulting in some extra scans of index data even when not needed. Mostly this commit adds a bunch of new tests including adding and removing submodules in the index and in the HEAD and seeing if we can automatically pick them up when refreshing.
Russell Belfer committed -
Rob Rix committed
-
With the new submodule cache validity checks, we generally don't need to call git_submodule_reload_all to have up-to-date submodule data. Some tests are still calling it where I want to actually test that it can be called safely and doesn't break anything, but mostly it is not needed. This also expands some of the existing submodule tests to cover some variants on the behavior that was already being tested.
Russell Belfer committed -
Wrote tests that try adding, removing, and updating the name of submodules which showed a number of problems with how we account for changes when incrementally updating the submodule info. Most of these issues didn't exist before because reloading would always blow away the old submodule data.
Russell Belfer committed -
Carlos Martín Nieto committed
-
This improvement the management of the lock around submodule cache updates slightly, using the lock to make sure that foreach can safely make a snapshot of all existing submodules and making sure that git_submodule_add_setup also grabs a lock before inserting the new submodule. Cache initialization / refresh should already have been holding the lock correctly as it adds submodules.
Russell Belfer committed -
This makes it so that git_submodule_reload_all will actually only reload changed items unless the `force` flag is used.
Russell Belfer committed -
When forcing cache flushes or reload, etc., it is easier to keep track of intent using enums instead of plain bools. Also, this fixes a bug where the cache was not being properly refreshes by a git_submodule_reload_all.
Russell Belfer committed -
This makes submodule cache refresh actually look at the timestamps from the data sources for submodules and reload as needed if they have changed since the last refresh.
Russell Belfer committed
-