Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
71a1b7a6
Unverified
Commit
71a1b7a6
authored
Jun 19, 2022
by
David Hotham
Committed by
GitHub
Jun 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tell git not to use terminal prompts (#5880)
parent
9ca39b0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
src/poetry/vcs/git/system.py
+8
-1
No files found.
src/poetry/vcs/git/system.py
View file @
71a1b7a6
from
__future__
import
annotations
from
__future__
import
annotations
import
os
import
subprocess
import
subprocess
from
typing
import
TYPE_CHECKING
from
typing
import
TYPE_CHECKING
...
@@ -49,8 +50,14 @@ class SystemGit:
...
@@ -49,8 +50,14 @@ class SystemGit:
)
+
args
)
+
args
git_command
=
find_git_command
()
git_command
=
find_git_command
()
env
=
os
.
environ
.
copy
()
env
[
"GIT_TERMINAL_PROMPT"
]
=
"0"
return
(
return
(
subprocess
.
check_output
(
git_command
+
list
(
args
),
stderr
=
subprocess
.
STDOUT
)
subprocess
.
check_output
(
git_command
+
list
(
args
),
stderr
=
subprocess
.
STDOUT
,
env
=
env
,
)
.
decode
()
.
decode
()
.
strip
()
.
strip
()
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment