Alexander Szakaly b0bf084d66 Fix bug in git_credentials()
git_credentials() was converting the stdin argument to bytes. However
according to the Python3 documentation subprocess.communicate() expects
a string when universal_newlines=True is passed to Popen.

The symptom was that git review would fail in p.communicate(stdin) on
line 156 with the message "'bytes' object has no attribute 'encode'".
This was observed with Python version 3.6.9 when running git-review
against a gerrit repo over https, where the repo requires username and
password to authenticate.

Change-Id: I0c0314c3f7b0eb631e72e4ac187a9d443a2bc82b
2021-01-20 17:44:14 +00:00
2021-01-20 17:44:14 +00:00
2020-01-16 15:14:16 +00:00
2013-08-15 20:42:37 +00:00
2018-01-10 11:11:04 +11:00
2019-05-28 14:05:49 +01:00
2011-09-25 09:16:31 -07:00
2013-08-15 20:42:37 +00:00
2021-01-13 14:10:31 +00:00
2021-01-13 14:10:31 +00:00

git-review

A git command for submitting branches to Gerrit

git-review is a tool that helps submitting git branches to gerrit for review.

Description
Tool for uploading changesets to Gerrit from git
Readme 7.1 MiB
Languages
Python 89.3%
Roff 10.7%