Skip to content

olcli 0.16.1

Choose a tag to compare

@aloth aloth released this 07 Nov 08:16
· 40 commits to main since this release

olcli 0.16.1

Fixes a data-loss bug in the git remote helper. If you use git clone overleaf::..., please update.

Fixed

  • git pull now brings in edits made on Overleaf, and git push no longer overwrites them. After the clone, git fetch and git pull never downloaded the project again, so a following git push silently overwrote newer edits by coauthors in every file it uploaded. A fetch now compares every file with the state of the last fetch or push and imports a commit only when something changed.
  • A push is refused when Overleaf has changes you have not fetched, or when your branch does not contain the last fetch (for example after a git pull whose merge conflict is still open). Run git pull, resolve any conflict, commit, and push again. git push --force overwrites on purpose.

Upgrade note

Clones made with 0.16.0 or earlier have no record of the Overleaf state yet. Run git pull once before your next push; the push tells you so if you forget.

olcli pull and olcli push are not affected.

Full changelog: v0.16.0...v0.16.1