summaryrefslogtreecommitdiffstats
path: root/test/import.test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2021-06-10 17:14:19 +0200
committerJean Delvare <jdelvare@suse.de>2021-06-10 17:14:19 +0200
commitc539338458e4aa8b2d6c4c87b9192def3800d0b5 (patch)
treee403af8feb8b41061e1457379c31c7b11bfba4c2 /test/import.test
parentca85fbd8202219737e14aaaff17d1c479536831f (diff)
downloadquilt-c539338458e4aa8b2d6c4c87b9192def3800d0b5.tar.gz
Delay sourcing patchfns until options have been processed
Commit 8b39a960afcf ("Consistently complain early if no series file is found") unexpectedly broke commands like "quilt add -h", because the check for a series file happens before the command line options are processed. This, in turn, breaks the generation of the quilt manual page, which relies on the output of each command when called with option -h. Reorder the code so that options are always processed first, and then patchfns is sourced. That way, option "-h" will work again even if not in a quilt working tree. Fixes: 8b39a960afcf ("Consistently complain early if no series file is found") Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'test/import.test')
0 files changed, 0 insertions, 0 deletions