Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbebc4f5

Browse files
committed
Use correct mode for executable files
Fixes#430
1 parent2376bd3 commitbebc4f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎git/index/fun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def stat_mode_to_index_mode(mode):
9393
returnS_IFLNK
9494
ifS_ISDIR(mode)orS_IFMT(mode)==S_IFGITLINK:# submodules
9595
returnS_IFGITLINK
96-
returnS_IFREG|0o644| (mode&0o100)# blobs with or without executable bit
96+
returnS_IFREG|0o644| (mode&0o111)# blobs with or without executable bit
9797

9898

9999
defwrite_cache(entries,stream,extension_data=None,ShaStreamCls=IndexFileSHA1Writer):

‎git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def untracked_files(self):
628628
:note:
629629
ignored files will not appear here, i.e. files mentioned in .gitignore
630630
: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
632632
consider caching it yourself."""
633633
returnself._get_untracked_files()
634634

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp