8000 Remove trailing whitespaces · GiTechLab/libgit2sharp@442f7a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 442f7a8

Browse files
committed
Remove trailing whitespaces
1 parent f5d9d0e commit 442f7a8

10 files changed

+13
-13
lines changed

LibGit2Sharp.Tests/BlameFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void CanStopBlame()
7575
// (be3563a comes after 9fd738e8)
7676
var blame = repo.Blame("new.txt", new BlameOptions {StoppingAt = "be3563a"});
7777
Assert.True(blame[0].FinalCommit.Sha.StartsWith("be3563a"));
78-
}
78+
}
7979
}
8080
}
8181
}

LibGit2Sharp.Tests/DiffTreeToTreeFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ public void CanIncludeUnmodifiedEntriesWhenEnabled()
615615
Assert.Equal(2, changes.Count());
616616
Assert.Equal(1, changes.Unmodified.Count());
617617
Assert.Equal(1, changes.Modified.Count());
618-
}
618+
}
619619
}
620620

621621
[Fact]

LibGit2Sharp.Tests/TreeFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ public void CanParseSymlinkTreeEntries()
216216
Tree t = repo.ObjectDatabase.CreateTree(td);
217217

218218
var te = t["A symlink"];
219-
219+
220220
Assert.NotNull(te);
221-
221+
222222
Assert.Equal(Mode.SymbolicLink, te.Mode);
223223
Assert.Equal(linkContent, te.Target);
224224
}

LibGit2Sharp/BlameHunkCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace LibGit2Sharp
1313
public class BlameHunkCollection : IEnumerable<BlameHunk>
1414
{
1515
private readonly IRepository repo;
16-
private readonly List<BlameHunk> hunks = new List<BlameHunk>();
16+
private readonly List<BlameHunk> hunks = new List<BlameHunk>();
1717

1818
/// <summary>
1919
/// For easy mocking

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ internal static extern int git_refspec_rtransform(
836836
UIntPtr outlen,
837837
GitRefSpecHandle refSpec,
838838
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictUtf8Marshaler))] string name);
839-
839+
840840
[DllImport(libgit2)]
841841
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(LaxUtf8NoCleanupMarshaler))]
842842
internal static extern string git_refspec_string(

LibGit2Sharp/Core/Proxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2731,7 +2731,7 @@ public static IList<GitRemoteHead> RemoteLsHelper(IntPtr heads, UIntPtr size)
27312731
list.Add((GitRemoteHead)Marshal.PtrToStructure(rawHeads[i], typeof (GitRemoteHead)));
27322732
}
27332733
return list;
2734-
}
2734+
}
27352735
}
27362736

27372737
private static bool RepositoryStateChecker(RepositorySafeHandle repo, Func<RepositorySafeHandle, int> checker)

LibGit2Sharp/RemoteUpdater.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ public virtual ICollection<string> FetchRefSpecs
9999
/// be used during a Push operation
100100
/// </summary>
101101
/// <remarks>Changing the list updates the <see cref="Remote" />.</remarks>
102-
public virtual ICollection<string> PushRefSpecs
103-
{
102+
public virtual ICollection<string> PushRefSpecs
103+
{
104104
get { return pushRefSpecs; }
105-
set { pushRefSpecs.ReplaceAll(value); }
105+
set { pushRefSpecs.ReplaceAll(value); }
106106
}
107107

108108
private class UpdatingCollection<T> : ICollection<T>

LibGit2Sharp/Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ public static string Clone(string sourceUrl, string workdirPath,
559559
Credentials creden 9E88 tials = null)
560560
{
561561
CheckoutCallbacks checkoutCallbacks = CheckoutCallbacks.GenerateCheckoutCallbacks(onCheckoutProgress, null);
562-
562+
563563
var callbacks = new RemoteCallbacks(null, onTransferProgress, null, credentials);
564564
GitRemoteCallbacks gitCallbacks = callbacks.GenerateCallbacks();
565565

LibGit2Sharp/RepositoryExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ internal static IEnumerable<ObjectId> Committishes(this Repository repo, object
353353
{
354354
ObjectId singleReturnValue = null;
355355

356-
if (identifier is string)
356+
if (identifier is string)
357357
{
358358
singleReturnValue = DereferenceToCommit(repo, identifier as string);
359359
}

LibGit2Sharp/SimilarityOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static SimilarityOptions Default
128128
/// The mode for detecting renames and copies
129129
/// </summary>
130130
public RenameDetectionMode RenameDetectionMode { get; set; }
131-
131+
132132
/// <summary>
133133
/// The mode for handling whitespace when comparing files
134134
/// </summary>

0 commit comments

Comments
 (0)
0