Skip to content

Commit

Permalink
fix: smartCommit msg processing
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Sep 22, 2023
1 parent 03dc5f7 commit 3235619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/tinygit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function M.smartCommit(opts, prefillMsg)
if not commitMsg then return end -- aborted input modal
local validMsg, newMsg = processCommitMsg(commitMsg)
if not validMsg then -- if msg invalid, run again to fix the msg
M.smartCommitPush(newMsg)
M.smartCommit(opts, newMsg)
return
end

Expand Down

0 comments on commit 3235619

Please sign in to comment.