~vcs-imports/quilt/master

Viewing all changes in revision 1441.

  • Committer: Jean Delvare
  • Date: 2021-09-03 15:02:00 UTC
  • Revision ID: git-v1:413e288800710af2c0d304f496e77bc62a728f66
Reuse the shell

One side effect of commit ca85fbd82022 ("Move the code which adds the
default parameters from quiltrc") is that we now source the quiltrc
configuration file twice. While parsing this file shouldn't take
overly long, this still feels conceptually wrong.

This can be avoided by reusing the same shell for the quilt command
as we used for the quilt "launcher" itself, instead of starting a
new instance of bash for it.

As a nice side bonus, this makes quilt about 2% faster (measured on
the test suite).

Signed-off-by: Jean Delvare <jdelvare@suse.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: