nvim-tinygit icon indicating copy to clipboard operation
nvim-tinygit copied to clipboard

Feature Request: Allow passing `pullBefore` flag in `smartCommit` function

Open aegonz opened this issue 1 year ago • 0 comments

Feature Requested

Allow passing pullBefore flag in smartCommit function

In the smartCommig function the following line hardcodes the pullBefore parameter to true.

-- push
if opts.pushIfClean and cleanAfterCommit then push { pullBefore = true } end

It would be helpful if the user was allowed to set that flag explicitly during smartCommit

Relevant Screenshot

No response

Checklist

  • [X] The feature would be useful to more users than just me.
  • [X] I have read the Non-Goals section of the README.

aegonz avatar Mar 28 '24 04:03 aegonz