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

Commit833ac6e

Browse files
committed
config: FIX regression by prev commit "wrap all conf..."
+ Bug appeared as last 5 TCs (test_commit & test_stream) said: OSError: [WinError 6] The handle is invalid
1 parent8a2f7dc commit833ac6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/objects/submodule/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,8 +993,8 @@ def rename(self, new_name):
993993
pw.rename_section(sm_section(self.name),sm_section(new_name))
994994

995995
# .gitmodules
996-
withself.config_writer(write=True)ascw:
997-
cw.config.rename_section(sm_section(self.name),sm_section(new_name))
996+
withself.config_writer(write=True).configascw:
997+
cw.rename_section(sm_section(self.name),sm_section(new_name))
998998

999999
self._name=new_name
10001000

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp