xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.64k stars 188 forks source link

Feature request: do not sync with remote if no commit was made #217

Closed decaffjoe closed 1 year ago

decaffjoe commented 1 year ago

Opening and closing the editor with nb e 1 will hang for a few seconds (presumably to sync with remote) even if no changes were made. The remote sync (and thus the hang) should only occur if changes and a commit was made.

xwmx commented 1 year ago

This should be resolved as of version 7.1.2. Please let me know if you run into additional issues with it.