summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-07-04 18:13:31 -0400
committerMike Frysinger <vapier@google.com>2019-07-05 05:31:38 +0000
commit81f5c596712c2e8c32cd9debb46a96b66d463ad4 (patch)
treed47bbfa6abd13524a6c818b696f10defcac57846 /subcmds
parent1b9adab75a87c5eb94c3c3b653fdc2c123ba0077 (diff)
downloadgit-repo-81f5c596712c2e8c32cd9debb46a96b66d463ad4.tar.gz
project: rev_list: simplify execution
Currently we read the binary stream from the subprocess code directly before waiting for it to finish, but there's no need to do so as we aren't streaming the output to the user. This also means we pass up binary data to the caller as we don't go through GitCommand's internal logic which decodes the stream as utf-8. Simplify the code by calling Wait first, then splitting the entire captured output in one line. Bug: https://crbug.com/gerrit/10418 Change-Id: I7a57904be8cb546a229980fb79c829fc3df31e7d
Diffstat (limited to 'subcmds')
0 files changed, 0 insertions, 0 deletions