Skip to content

Commit 6d9331c

Browse files
committed
Improve documentation of 0100664 mode usage
1 parent 0bcfb51 commit 6d9331c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

LibGit2Sharp/Mode.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ public enum Mode
2323
NonExecutableFile = 0x81A4,
2424

2525
/// <summary>
26-
/// 100664 file mode
26+
/// Obsolete 100664 file mode.
27+
/// <para>0100664 mode is an early Git design mistake. It's kept for
28+
/// ascendant compatibility as some <see cref="Tree"/> and
29+
/// <see cref="Repository.Index"/> entries may still bear
30+
/// this mode in some old git repositories, but it's now deprecated.
31+
/// </para>
2732
/// </summary>
2833
NonExecutableGroupWritableFile = 0x81B4,
2934

0 commit comments

Comments
 (0)