fix(gs/emacs): Don't double up on branch prefix
magit-read-org-clubhouse-branch-name returns the branch with the prefix in it already, so we don't need to add it again here. Change-Id: I0e753173bc366a8458ccd38a936ae078bbac79f8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1999 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
4f7bb40a31
commit
353da315c4
1 changed files with 1 additions and 3 deletions
|
@ -609,9 +609,7 @@
|
||||||
"origin/master")))
|
"origin/master")))
|
||||||
(if (magit-rev-verify start-point)
|
(if (magit-rev-verify start-point)
|
||||||
(when-let ((desc (magit-read-org-clubhouse-branch-name)))
|
(when-let ((desc (magit-read-org-clubhouse-branch-name)))
|
||||||
(list
|
(list desc start-point))
|
||||||
(format "gs/ch%d/%s" story-id desc)
|
|
||||||
start-point))
|
|
||||||
(user-error "Not a valid starting point: %s" choice)))
|
(user-error "Not a valid starting point: %s" choice)))
|
||||||
(user-error "No currently clocked-in clubhouse story")))
|
(user-error "No currently clocked-in clubhouse story")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue