| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2376bd3 commit bebc4f5
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -93,7 +93,7 @@ def stat_mode_to_index_mode(mode): | |||
| 93 | 93 | return S_IFLNK | |
| 94 | 94 | if S_ISDIR(mode) or S_IFMT(mode) == S_IFGITLINK: # submodules | |
| 95 | 95 | return S_IFGITLINK | |
| 96 | - return S_IFREG | 0o644 | (mode & 0o100) # blobs with or without executable bit | ||
| 96 | + return S_IFREG | 0o644 | (mode & 0o111) # blobs with or without executable bit | ||
| 97 | 97 | ||
| 98 | 98 | ||
| 99 | 99 | def write_cache(entries, stream, extension_data=None, ShaStreamCls=IndexFileSHA1Writer): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -628,7 +628,7 @@ def untracked_files(self): | |||
| 628 | 628 | :note: | |
| 629 | 629 | ignored files will not appear here, i.e. files mentioned in .gitignore | |
| 630 | 630 | :note: | |
| 631 | - This property is expensive, as no cache is involved. To process the result, please | ||
| 631 | + This property is expensive, as no cache is involved. To process the result, please | ||
| 632 | 632 | consider caching it yourself.""" | |
| 633 | 633 | return self._get_untracked_files() | |
| 634 | 634 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments