fromupstream: rstrip '/' from remote urls
Strip the trailing '/' from any remote urls before comparing them to the
list of upstream urls. This fixes 'Error: need a valid upstream remote'
that is seen when you make this mistake.
TEST=Used fromupstream.py to merge an upstream patch using a remote with
and without the trailing /
Tested-by: Abhishek Pandit-Subedi <firstname.lastname@example.org>
Reviewed-by: Brian Norris <email@example.com>
Commit-Queue: Abhishek Pandit-Subedi <firstname.lastname@example.org>
1 file changed