Skip to content

Commit 6f19c27

Browse files
committed
Add Flags attribute to RepositoryRequiredParameters
Since we're doing bitwise operations on them, let's make sure the compiler and runtime know that we use these as flags.
1 parent 500cc96 commit 6f19c27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LibGit2Sharp/Repository.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public sealed class Repository : IRepository
3737
private readonly SubmoduleCollection submodules;
3838
private readonly Lazy<PathCase> pathCase;
3939

40+
[Flags]
4041
private enum RepositoryRequiredParameter
4142
{
4243
None = 0,

0 commit comments

Comments
 (0)