chrisgrieser / nvim-tinygit

A lightweight bundle of commands focussed on swift and streamlined git operations.
MIT License
154 stars 4 forks source link

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

Closed aegonz closed 3 months ago

aegonz commented 6 months ago

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

chrisgrieser commented 3 months ago

Good point, added.