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 <email@example.com>
Reviewed-by: Brian Norris <firstname.lastname@example.org>
Commit-Queue: Abhishek Pandit-Subedi <email@example.com>
1 file changed