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

Commitd06e76b

Browse files
OswinNathanialdpursehouse
authored andcommitted
Update docstring for 'kill_after_timeout' parameter
Specify that this feature is not supported on Windows andmention about the negative side-effects of SIGKILL on arepository.Change-Id: Ibba2c3f51f84084b4637ae9aaafa87dd84000ef4
1 parent4faf5cd commitd06e76b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎git/cmd.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,11 @@ def execute(self, command,
537537
To specify a timeout in seconds for the git command, after which the process
538538
should be killed. This will have no effect if as_process is set to True. It is
539539
set to None by default and will let the process run until the timeout is
540-
explicitly specified.
540+
explicitly specified. This feature is not supported on Windows. It's also worth
541+
noting that kill_after_timeout uses SIGKILL, which can have negative side
542+
effects on a repository. For example, stale locks in case of git gc could
543+
render the repository incapable of accepting changes until the lock is manually
544+
removed.
541545
542546
:return:
543547
* str(output) if extended_output = False (Default)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp