~vcs-imports/quilt/master

Viewing all changes in revision 1504.

  • Committer: Jean Delvare
  • Date: 2024-07-16 07:08:12 UTC
  • Revision ID: git-v1:2eae24970124845194a54e40a979a12a2b29527a
series: Remove the "fast" path

Originally, "series" with no options was implemented by calling
cat_series directly, while options required calling cat_patches which
was very slow on large series. Having a fast path made complete
sense back then.

However, since commit 117e66f40d01 ("Series command: add missing
paths to patches if $QUILT_PATCHES_PREFIX is set"), the fast path is
also calling cat_patches, so it is no longer fast. Therefore it no
longer makes sense to have distinct code paths and we can simplify the
code with no performance penalty.

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: