- 10 Apr, 2014 1 commit
-
-
There were a couple bugs in popping ignore files during iteration that could result in incorrect decisions be made and thus ignore files below the root either not being loaded correctly or not being popped at the right time. One bug was an off-by-one in comparing the path of the gitignore file with the path being exited during iteration. The second bug was not correctly truncating the path being tracked during traversal if there were no ignores on the list (i.e. when you have no .gitignore at the root, but do have some in contained directories).
Russell Belfer committed
-
- 08 Apr, 2014 4 commits
-
-
git_merge_base() returns GIT_ENOTFOUND when it cannot find a merge base. graph_desdendant_of() returns a boolean value (barring any errors), so it needs to catch the NOTFOUND return value and convert it into false, as not merge base means it cannot be a descendant.
Carlos Martín Nieto committed -
Correct grouping of parentheses
Vicent Marti committed -
Jacques Germishuys committed
-
git_graph_descendant_of was returning the result of an assignment
Jacques Germishuys committed
-
- 07 Apr, 2014 4 commits
-
-
Fix bug with multiple iconv conversions in one dir
Vicent Marti committed -
Russell Belfer committed
-
The internal buffer in the `git_path_iconv_t` structure was not being reset before the calls to `iconv` were made to convert data, so if there were multiple decomposed Unicode paths in a single directory, paths after the first one were being appended to the first instead of treated as independent data.
Russell Belfer 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 3 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
-