diff options
author | Mike Frysinger <vapier@google.com> | 2021-02-16 17:08:35 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-02-18 03:54:30 +0000 |
commit | 84230009ee4282b947482f0d4fc4fe9e9ebc9e01 (patch) | |
tree | fd38d44f98ab05a2762fe7a3b0e80b60775640f5 /subcmds/init.py | |
parent | f37b9827a966258a0adc2012a7c5c89cf89e4a0f (diff) | |
download | git-repo-84230009ee4282b947482f0d4fc4fe9e9ebc9e01.tar.gz |
project: make diff tools synchronous
These are the only users in the tree that process the output as it's
produced. All others capture all the output first and then process
the results. However, these functions still don't fully return until
it's finished processing, and these funcs are in turn used in other
synchronous code paths. So it's unclear whether anyone will notice
that it's slightly slower or less interactive. Let's try it out and
see if users report issues.
This will allow us to simplify our custom GitCommand code and move it
over to Python's subprocess.run, and will help fix interleaved output
when running multiple commands in parallel (e.g. `repo diff -j8`).
Change-Id: Ida16fafc47119d30a629a8783babeba890515de0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/297144
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'subcmds/init.py')
0 files changed, 0 insertions, 0 deletions