We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675a2fb commit 8dab6c3Copy full SHA for 8dab6c3
src/NerdBank.GitVersioning/ManagedGit/GitRepository.cs
@@ -658,7 +658,7 @@ private GitPack[] LoadPacks()
658
var packPath = Path.Combine(this.ObjectDirectory, "pack", $"{name}.pack");
659
660
// Only proceed if both the packfile and index file exist.
661
- if (!File.Exists(packPath))
+ if (File.Exists(packPath))
662
{
663
packs.Add(new GitPack(this.GetObjectBySha, indexPath, packPath));
664
}
0 commit comments