stack: strip trailing dots from short_name
commit247c93ca48fdbecf13ba105a47ea80398eea550d
authorMax Kellermann <max.kellermann@gmail.com>
Mon, 13 Dec 2021 11:47:30 +0000 (13 12:47 +0100)
committerPete Grayson <github@jpgrayson.net>
Mon, 13 Dec 2021 15:55:26 +0000 (13 10:55 -0500)
tree85e959cb0d8323738f53a095ea9b3cb821556ef7
parent0d275a94f75a3bc750e16cc3b2b18ad7be0dd642
stack: strip trailing dots from short_name

Fixes assertion failure which can occur because the short_name is a
truncated version of the already-sanitized long_name, but the
truncation may leave a trailing dot.
stgit/lib/stack.py