Lu Rongkai
3b69bdb525
fix spell mistake for argument pre-inspection.
...
this is a tiny modification for spell mistake.
orig:
Ensure.ArgumentNotNullOrEmptyString(thirdKeyPart, "secondKeyPart");
now:
Ensure.ArgumentNotNullOrEmptyString(thirdKeyPart, "thirdKeyPart");
2013-11-30 22:15:27 +08:00
Ben Straub
1517a66b6d
Fix off-by-one error in BlameHunk debugger display
2013-11-25 08:44:20 -08:00
Keith Dahlby
b8dc66023e
Configuration.Testability++
2013-11-24 16:32:46 -06:00
Keith Dahlby
e3108d4153
Publicize Configuration.BuildSignature()
2013-11-24 16:32:46 -06:00
Ben Straub
4f4819ed9d
Introduce Repository.Blame
2013-11-24 11:34:59 -08:00
Ben Straub
a3f95fc9e9
Introduce repo.Committish(es)
2013-11-22 13:02:38 -08:00
Keith Dahlby
af3bc8960f
Remove unnecessary global config check
2013-11-20 17:54:04 -06:00
Keith Dahlby
3cf04dd724
Add Configuration.Find(regexp)
2013-11-20 17:50:42 -06:00
Keith Dahlby
123bd64e59
Introduce Proxy.git_iterator
2013-11-20 17:48:38 -06:00
Keith Dahlby
94066ec0e2
Refactor git_branch_iterator
2013-11-20 17:45:30 -06:00
Keith Dahlby
6b6a44a083
Fix undisposed stream in test
2013-11-19 23:27:14 +01:00
Keith Dahlby
bedccca83f
Add test for interface coverage
...
Closes #546
2013-11-18 19:42:55 -06:00
Keith Dahlby
2e96549ccf
CommitLog can be sealed because it has interface
2013-11-18 19:33:47 -06:00
Ben Straub
f43d558efd
Update libgit2 binaries to 98eaf39
...
e87d9d3...98eaf39
2013-11-15 13:01:53 -08:00
Jan Melcher
cc3197a91d
Enumerate refspecs
...
The Remote.RefSpecs property allows to enumerate over all refspecs defined for a specific remote.
2013-11-14 16:31:03 +01:00
nulltoken
67433e1e0a
Improve Network.ListReferences() documentation
2013-11-14 11:20:02 +00:00
nulltoken
1ca809defe
Enforce Network.ListReferences() test coverage
...
This puts under the light that DirectReferences may point to GitObjects unknown from the local repository.
2013-11-14 11:20:00 +00:00
Jan Melcher
9bfe5e43e8
Tests create global config stub if required
...
Instead of relying on the global configuration and skipping the test if
Git is not installed, the following tests create a configuration file
containing user.name and user.email using
BaseFixture.CreateConfigurationWithDummyUser(Signature):
* CommitFixture.CanCommitWithSignatureFromConfig()
* ConfigurationFixture.CanEnumerateGlobalConfig()
Fixes #561
2013-11-13 18:28:00 +01:00
Jan Melcher
91d52df424
Extension methods for NoteCollection using user from config
...
Similar to Repository.Commit, NoteCollectionExtensions.Add/Remove take the committer and author signature from the global git config user.name / user.email. This allows modifying notes without specifying the commiter explicitly
2013-11-11 19:54:18 +01:00
Ben Straub
1679067e35
Fix broken tests on OS X
2013-11-11 08:54:39 -08:00
Ben Straub
94aeb13043
Fix building with Mono on OS X
2013-11-11 08:42:19 -08:00
Keith Dahlby
c890e615e5
Add rewrite test that injects existing TreeEntry
2013-11-11 08:19:20 -06:00
Keith Dahlby
d6079d4a17
Add TreeDefinition.Add(string, TreeEntry)
2013-11-11 08:19:19 -06:00
Pavel Belousov
2553c80114
Deprecated ResetOptions in favor ResetMode.
2013-11-08 07:20:07 +04:00
nulltoken
5e62858541
Drop unused parameter
2013-11-07 15:25:39 +01:00
nulltoken
0e55dadd1e
Favor IRepository usage over Repository
2013-11-07 15:24:55 +01:00
nulltoken
c071980a6b
Align IRepository with public Repository members
2013-11-07 14:42:35 +01:00
nulltoken
d9ecbaed77
Update libgit2 binaries to e87d9d3
...
711333e...e87d9d3
2013-11-06 17:09:35 +01:00
Jameson Miller
7b38c3cb42
Garbage collection protection
2013-11-05 14:15:26 -05:00
nulltoken
b65f966221
Fix UpdateLibgit2ToSha.ps1 path context handling
2013-11-04 16:03:08 +01:00
Keith Dahlby
e143eaff29
Add RewriteHistoryOptions.OnSucceeding and OnError
...
OnSucceeding is a chance to inspect rewritten commits/refs:
if it doesn't look right, throw to trigger a rollback.
OnError is a chance to inspect rewritten commits/refs before
rollback occurs, to see what went well and what didn't.
2013-11-03 20:34:28 -06:00
nulltoken
c7c12e719d
Enforce symlink creation and parsing test coverage
2013-11-03 19:57:15 +01:00
Keith Dahlby
af11289180
Check autocrlf in filtered text test
2013-11-03 11:09:37 -06:00
Keith Dahlby
0c4780b5fb
Note that Blob.Size is size of raw content
2013-11-03 11:09:35 -06:00
Keith Dahlby
e027739288
Ensure Blob.ContentStream() has Length
2013-11-03 11:09:35 -06:00
Aimeast
71090d3368
Deprecate Blob.Content
2013-10-27 09:58:21 +01:00
Aimeast
2e201d57c0
Rename Blob.ContentAsText() as Blob.GetContentText()
2013-10-27 09:58:15 +01:00
Aimeast
da32029638
Rename Blob.ContentStream() as Blob.GetContentStream()
2013-10-27 09:57:51 +01:00
Aimeast
36945a94de
Push down Stream related helpers into BaseFixture
2013-10-27 09:31:54 +01:00
Aimeast
2bb26a5f62
Teach BaseFixture.Touch() to accept Streams
2013-10-27 09:28:52 +01:00
Edward Thomson
7af5c60f22
Teach LambdaEqualityHelper to deal with null equality contribution
2013-10-22 10:29:51 -04:00
Keith Dahlby
fc78c72fd5
Add meta test to find missing [Fact]/[Theory]
2013-10-21 21:32:35 -05:00
Janusz Białobrzewski
abc7b61b87
Fixed a typo.
2013-10-20 20:19:12 +02:00
Jameson Miller
bd736e2d13
Clean up cancellation patterns in callbacks and other small cleanups.
2013-10-19 10:05:04 -04:00
Jameson Miller
981f43909c
Expose Push progress reporting
2013-10-18 13:48:44 -04:00
Edward Thomson
31291febe2
Introduce blob FilteringOptions for content stream
...
Get the content of a blob as it would be checked out to the
working directory via the filters.
2013-10-18 10:02:50 -04:00
Jameson Miller
4d4ebe2ead
Allow push APIs to set packbuilder parallelism
2013-10-17 17:06:30 -04:00
nulltoken
e2290f86dc
Enforce repo.Network.Push() test coverage
2013-10-17 15:13:39 +02:00
nulltoken
b10c4b6e4c
Make string marshaling either lax or strict
2013-10-15 19:56:05 +02:00
nulltoken
75eaceb3b4
Introduce EncodingMarshaler.Cleanup()
2013-10-15 19:34:26 +02:00