Skip to content

Commit

Permalink
Merge pull request #51 from a3f/override-extra-slash
Browse files Browse the repository at this point in the history
umpf: fix extra / when using --override=singlearg
  • Loading branch information
michaelolbrich authored Nov 27, 2024
2 parents a3616f4 + 89fc6ea commit 726de69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umpf
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ usage() {
use commit-ish instead for the topic. May be
specified more than once. If only <topic> is
specified, it's interpreted as
<topic>=<remote>/<topic>
<topic>=[<remote>/]<topic>
-u, --update with --patchdir: update existing patches in <path>
-v, --version <version> with tag: overwrite version number [default: 1]
Expand Down Expand Up @@ -352,7 +352,7 @@ setup() {
local rev

if [ -z "${OVERRIDES[$topic]}" ]; then
OVERRIDES[$topic]="${GIT_REMOTE}/${topic}"
OVERRIDES[$topic]="${GIT_REMOTE}${topic}"
fi

if ! rev="$(${GIT} rev-parse "${OVERRIDES[$topic]}^{}" 2> /dev/null)"; then
Expand Down

0 comments on commit 726de69

Please sign in to comment.