Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdf1463

Browse files
author
Edward Thomson
committed
Merge pull request libgit2#3792 from edquist/misc
Fix comment for GIT_FILEMODE_LINK
2 parents c756448 + c8fb2e1 commit fdf1463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ GIT_INLINE(git_filemode_t) normalize_filemode(git_filemode_t filemode)
4545
if (GIT_MODE_TYPE(filemode) == GIT_FILEMODE_COMMIT)
4646
return GIT_FILEMODE_COMMIT;
4747

48-
/* 12XXXX means commit */
48+
/* 12XXXX means symlink */
4949
if (GIT_MODE_TYPE(filemode) == GIT_FILEMODE_LINK)
5050
return GIT_FILEMODE_LINK;
5151

0 commit comments

Comments
 (0)