Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umpf: fix extra / when using --override=singlearg #51

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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