Skip to content

Commit 8197210

Browse files
committed
Rename FileStatus values
1 parent bafa05c commit 8197210

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

LibGit2Sharp/FileStatus.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ public enum FileStatus
3838
/// </summary>
3939
Renamed = (1 << 3), /* GIT_STATUS_INDEX_RENAMED */
4040

41-
TypeChangedInIndex = (1 << 4), /* GIT_STATUS_INDEX_TYPECHANGE */
41+
/// <summary>
42+
/// A change in type for a file has been promoted from the working directory to the Index. A previous version exists in the Head.
43+
/// </summary>
44+
StagedTypeChange = (1 << 4), /* GIT_STATUS_INDEX_TYPECHANGE */
4245

4346
/// <summary>
4447
/// New file in the working directory, unknown from the Index and the Head.
@@ -55,7 +58,10 @@ public enum FileStatus
5558
/// </summary>
5659
Missing = (1 << 9), /* GIT_STATUS_WT_DELETED */
5760

58-
TypeChangedInWorkdir = (1 << 10),
61+
/// <summary>
62+
/// The file type has been changed in the working directory. A previous version exists in the Index.
63+
/// </summary>
64+
TypeChanged = (1 << 10), /* GIT_STATUS_WT_TYPECHANGE */
5965

6066
/// <summary>
6167
/// The file is <see cref="Untracked"/> but its name and/or path matches an exclude pattern in a <c>gitignore</c> file.

0 commit comments

Comments
 (0)