-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying custom upstream remote name (#35)
* Allow specifying custom upstream remote name * Add test * Update readme * Parametrize upstream_remote instead of weird ifs * Add two more parametrization variants * Rephrase mention of `--upstream-remote` in README Co-authored-by: Ezio Melotti <[email protected]> * Error out early if remote does not exist * Test that cp.upstream errors on missing remote * Use good-old private attribute instead of the fancy lru_cache * Drop unnecessary f from f-string Co-authored-by: Ezio Melotti <[email protected]>
- Loading branch information
1 parent
0ecbf06
commit 2f85c32
Showing
3 changed files
with
112 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters