scripts icon indicating copy to clipboard operation
scripts copied to clipboard

git-submodule-rewrite: fails if remote is not called "origin"

Open Ansa211 opened this issue 3 years ago • 0 comments

If the remote of the main repo is not called "origin", then the script fails with

dirname: missing operand
Try 'dirname --help' for more information.
/path/to/git-submodule-rewrite: line 78: $2: unbound variable
Error: Could not determine the remote origin for this superproject:

Ansa211 avatar Dec 14 '21 14:12 Ansa211