Conversation
4f5cc42 to
bee197c
Compare
1a95ac4 to
b38f677
Compare
issue develop: prevent .git/config corruption on repeated --name invocation
|
Tested PR #12651 locally on Ubuntu 24.04 (linux/amd64) with Go 1.25.6. Commands run: Result: Looked through the changes in pkg/cmd/issue/develop:
This looks aligned with the expected behavior for repeated invocation and should avoid corrupting .git/config. |
pkg/cmd/issue/develop/develop.go
Outdated
| branchID := "" | ||
| baseValidated := false | ||
| if opts.BaseBranch != "" { | ||
| opts.IO.StartProgressIndicator() |
There was a problem hiding this comment.
All these starting and stopping of the progress indicator can probably be simplified to one call to start it, a defer to catch the error cases and then a closing call to stop it.
There was a problem hiding this comment.
We can also pass in a nice loading message with StartProgressIndicatorWithLabel
|
@BagToad no worries, added the requested changes |
BagToad
left a comment
There was a problem hiding this comment.
LGTM, thanks for your efforts and patience!
|
glad to contribute! |
Fixes #12575
Reuse an existing linked branch (same name + repo) instead of failing when it already exists
In
developRunCreate, when--nameis provided: