Skip to content

Commit

Permalink
Add Flags attribute to RepositoryRequiredParameters
Browse files Browse the repository at this point in the history
Since we're doing bitwise operations on them, let's make sure the
compiler and runtime know that we use these as flags.
  • Loading branch information
carlosmn committed Apr 20, 2016
1 parent 500cc96 commit 6f19c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LibGit2Sharp/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public sealed class Repository : IRepository
private readonly SubmoduleCollection submodules;
private readonly Lazy<PathCase> pathCase;

[Flags]
private enum RepositoryRequiredParameter
{
None = 0,
Expand Down

0 comments on commit 6f19c27

Please sign in to comment.