You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LibGit2Sharp.Tests/WorktreeFixture.cs
+5-10
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
usingLibGit2Sharp.Tests.TestHelpers;
2
-
usingSystem;
1
+
usingSystem;
3
2
usingSystem.Collections.Generic;
4
3
usingSystem.IO;
5
4
usingSystem.Linq;
5
+
usingLibGit2Sharp.Tests.TestHelpers;
6
6
usingXunit;
7
7
8
8
namespaceLibGit2Sharp.Tests
@@ -252,7 +252,6 @@ public void CanAddWorktree_WithUncommitedChanges()
252
252
Assert.Equal(3,repo.Worktrees.Count());
253
253
254
254
// Check that branch contains same number of files and folders
255
-
// NOTE: There is an open bug - [Repository.Worktrees.Add leaves now worktree empty](https://github.com./libgit2/libgit2sharp/issues/2037)
256
255
Assert.True(repo.RetrieveStatus().IsDirty);
257
256
varfilesInMain=GetFilesOfRepo(repoPath);
258
257
varfilesInBranch=GetFilesOfRepo(path);
@@ -289,7 +288,6 @@ public void CanAddWorktree_WithCommitedChanges()
289
288
Assert.Equal(3,repo.Worktrees.Count());
290
289
291
290
// Check that branch contains same number of files and folders
292
-
// NOTE: There is an open bug - [Repository.Worktrees.Add leaves now worktree empty](https://github.com./libgit2/libgit2sharp/issues/2037)
293
291
Assert.False(repo.RetrieveStatus().IsDirty);
294
292
varfilesInMain=GetFilesOfRepo(repoPath);
295
293
varfilesInBranch=GetFilesOfRepo(path);
@@ -314,7 +312,6 @@ public void CanAddLockedWorktree_WithUncommitedChanges()
314
312
Assert.Equal(3,repo.Worktrees.Count());
315
313
316
314
// Check that branch contains same number of files and folders
317
-
// NOTE: There is an open bug - [Repository.Worktrees.Add leaves now worktree empty](https://github.com./libgit2/libgit2sharp/issues/2037)
318
315
Assert.True(repo.RetrieveStatus().IsDirty);
319
316
varfilesInMain=GetFilesOfRepo(repoPath);
320
317
varfilesInBranch=GetFilesOfRepo(path);
@@ -351,7 +348,6 @@ public void CanAddLockedWorktree_WithCommitedChanges()
351
348
Assert.Equal(3,repo.Worktrees.Count());
352
349
353
350
// Check that branch contains same number of files and folders
354
-
// NOTE: There is an open bug - [Repository.Worktrees.Add leaves now worktree empty](https://github.com./libgit2/libgit2sharp/issues/2037)
355
351
Assert.False(repo.RetrieveStatus().IsDirty);
356
352
varfilesInMain=GetFilesOfRepo(repoPath);
357
353
varfilesInBranch=GetFilesOfRepo(path);
@@ -380,7 +376,6 @@ public void CanAddWorktreeForCommittish()
380
376
Assert.Equal(3,repo.Worktrees.Count());
381
377
382
378
// Check that branch contains same number of files and folders
383
-
// NOTE: There is an open bug - [Repository.Worktrees.Add leaves now worktree empty](https://github.com./libgit2/libgit2sharp/issues/2037)
0 commit comments