Skip to content

Commit 8043c66

Browse files
authored
Merge pull request #2 from mrados7/IMPR/IB-1234/commit-message-quotes
"[IMPR] [IB-1234] fix quotes for commit message"
2 parents 3665b81 + 837ea61 commit 8043c66

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

cmd/checkout/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type config struct {
2323
JiraBoards []jiraBoard `json:"jiraBoards"`
2424
}
2525

26-
const configFile = ".git-branch-checkout-2.json"
26+
const configFile = ".git-tools-2.json"
2727

2828
var defaultBranchTypes = []list.Item{
2929
branchType{"FEAT", "A new feature"},

cmd/commit/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
134134
// If so, exit.
135135
if s == "enter" && m.focusInputIndex == len(m.inputs) {
136136
// Execute git commit command with flags
137-
commitCmd := exec.Command("git", "commit", "-m", fmt.Sprintf("'%s' %s", m.inputs[0].Value(), m.inputs[1].Value()))
137+
commitCmd := exec.Command("git", "commit", "-m", fmt.Sprintf("%s %s", m.inputs[0].Value(), m.inputs[1].Value()))
138138
commitCmd.Stdout = os.Stdout
139139
commitCmd.Stderr = os.Stderr
140140

0 commit comments

Comments
 (0)