diff options
author | Thanos Apollo <[email protected]> | 2024-02-28 00:29:20 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-28 00:29:20 +0200 |
commit | f65c2821017423d97aa1ca9d46968fdd784a3e77 (patch) | |
tree | 7c6d872c6e49a817dfc8295face39a6427b703a8 /gnosis.el | |
parent | aa3c2f8f5815f01da1f2d6ce50c7dc6d24beb075 (diff) |
gnosis-review-commit: Do not push when testing
Make testing easier
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1121,7 +1121,8 @@ NOTE-NUM: The number of notes reviewed in the session." (shell-command (format "%s %s %s" git "add" (shell-quote-argument "gnosis.db"))) (shell-command (format "%s %s %s" git "commit -m" (shell-quote-argument (format "Total notes for session: %d" note-num))))) - (when gnosis-vc-auto-push + (when (and gnosis-vc-auto-push + (not gnosis-testing)) (gnosis-vc-push)) (message "Review session finished. %d notes reviewed." note-num))) |