forked from github/pelican
Merge pull request #2936 from BenSturmfels/no-pager
Use `git --no-pager` rather than override all environment variables
This commit is contained in:
commit
d1a874e580
1 changed files with 1 additions and 2 deletions
|
|
@ -56,9 +56,8 @@ class TestPelican(LoggedTestCase):
|
|||
|
||||
def assertDirsEqual(self, left_path, right_path):
|
||||
out, err = subprocess.Popen(
|
||||
['git', 'diff', '--no-ext-diff', '--exit-code',
|
||||
['git', '--no-pager', 'diff', '--no-ext-diff', '--exit-code',
|
||||
'-w', left_path, right_path],
|
||||
env={'PAGER': ''},
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE
|
||||
).communicate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue