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 f92d363 commit 9edf81aCopy full SHA for 9edf81a
src/NerdBank.GitVersioning/VersionOracle.cs
@@ -432,7 +432,8 @@ private static bool IsVersionFileChangedInWorkingTree(VersionOptions committedVe
432
return !EqualityComparer<VersionOptions>.Default.Equals(workingVersion, committedVersion);
433
}
434
435
- return false; // a missing working version is allowed and not a change.
+ // A missing working version is a change only if it was previously commited.
436
+ return committedVersion != null;
437
438
439
0 commit comments