Age | Commit message (Collapse) | Author |
|
- Allow derived exceptions from known ones to be whitelisted
- Trace the number of failed attempts made to delete the directory
- Use named parameters to make the retry parameters less "magic" to the reader
|
|
Fixed issue #970
|
|
|
|
|
|
The DirectoryHelper.DeleteDirectory() method throws exceptions.
Affected tests will be reported as FAILED although this happens
during cleanup after the test was run.
This commit deals with those exceptions by retrying to delete
the directory up to four times, which removes directories in all
but rare cases. The method catches DirectoryNotFoundException,
IOException, and UnauthorizedAccessException and will only log a
trace message if it can't finally delete the directory. It will
rethrow any other type of exception.
Closes #970.
|
|
|
|
Per issue #805, the Repository.Reset() methods and extensions that take paths
have been moved to Index. These methods have become additional Index.Replace()
overloads.
The old methods have been deprecated and have been changed to call the new
Index.Replace() methods instead.
The relevant tests have been updated to use the new methods. Tests that are no
longer needed have been removed.
Closes #805
|
|
|
|
|
|
Per issue #551, a PeeledTarget property has been added to Tag. When the tag
is pointing to a chained TagAnnotation, it will return the final GitObject
that the chain points to.
closes #551
|
|
Make `Repository.MergeFetchHeads` public (with a slightly less
scary sounding name) so that a consumer may perform the mechanics
of a `Pull` in two steps.
|
|
|
|
|
|
|
|
|
|
|
|
Per isssues #864 and #951, the overloads of FindMergeBase() have been moved
from CommitLog to ObjectDatabase.
The methods on ICommitLog and CommitLog have been deprecated, and calls to
the CommitLog methods have been changed to call the ObjectDatabase versions
instead.
The relevant tests have been updated as well.
Fixes #864 #951
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixup drift between LibGit2Sharp and lg2.
|
|
Verify that checkout callbacks are called as part of SubmoduleUpdate.
|
|
|
|
Trying to fetch all tags fails
|
|
Fix #928
|
|
|
|
Created through the following
$ git init assume_unchanged_wd && cd assume_unchanged_wd
$ echo "hello" > hello.txt
$ echo "world" > world.txt
$ git add .
$ git commit -m "Initial commit"
$ echo "Hello" > hello.txt
$ echo "World" > world.txt
$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: hello.txt
modified: world.txt
no changes added to commit (use "git add" and/or "git commit -a")
$ git update-index --assume-unchanged world.txt
$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: hello.txt
no changes added to commit (use "git add" and/or "git commit -a")
|
|
Relates to #927
|
|
|
|
|
|
- Drop unnecessary detection of renames and copies
- Always perform removals from the Index before additions
|
|
Fix #195
|
|
|
|
|
|
|
|
|
|
This change is to throw more specific exceptions in several cases when
possible. If an object cannot be found, throw a more specific
NotFoundException.
|
|
Fix a minor logic bug, where we assumed that any RepositoryOptions
would provide a workdir and index such that the repo is not bare.
|
|
Related to #903
|
|
Fix #872
|
|
Fix #886
|
|
|
|
Fix #826
|
|
|
|
|
|
|