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

Appearance settings

Commit d06e76b

Browse filesBrowse files
OswinNathanialdpursehouse
authored andcommitted
Update docstring for 'kill_after_timeout' parameter
Specify that this feature is not supported on Windows and mention about the negative side-effects of SIGKILL on a repository. Change-Id: Ibba2c3f51f84084b4637ae9aaafa87dd84000ef4
1 parent 4faf5cd commit d06e76b
Copy full SHA for d06e76b

1 file changed

+5-1Lines changed: 5 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/cmd.py‎

Copy file name to clipboardExpand all lines: git/cmd.py
+5-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.