Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14dd881 commit 1e1280dCopy full SHA for 1e1280d
git/index/fun.py
@@ -116,7 +116,7 @@ def stat_mode_to_index_mode(mode):
116
return S_IFLNK
117
if S_ISDIR(mode) or S_IFMT(mode) == S_IFGITLINK: # submodules
118
return S_IFGITLINK
119
- return S_IFREG | (mode & S_IXUSR and 0o755 or 0o644) # blobs with or without executable bit
+ return S_IFREG | (mode & S_IXUSR and 0o755 or 0o644) # blobs with or without executable bit
120
121
122
def write_cache(entries: Sequence[Union[BaseIndexEntry, 'IndexEntry']], stream: IO[bytes],
0 commit comments