You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
When selectively applying changes during new commit, the backup created can be incorrect. A new version will be created, which triggers a new backup request as opposed to taking any existing backup.
Here is what should be done:
When selectively committing changes, a backup will definitely already exist for the file. It's just that the backup may not have the right name.
For example, we have two backups:
version 1 named name 1
version 2 named name 2
On a selective commit, the user may want version 1 named name 2ORversion 2 named name 1 — neither of which exist in the archive.
Therefore, when creating a new version, ...
check if backup with same name & content already exists. If so, reuse that.
check if backup with content already exists (but different time). If so, duplicate that content and assign the new name.
The text was updated successfully, but these errors were encountered:
Side note: On selective commit, we should actually disable the ability to create any new backups of remote. It is never needed and if it's happening, then something is going wrong.
When selectively applying changes during new commit, the backup created can be incorrect. A new version will be created, which triggers a new backup request as opposed to taking any existing backup.
Here is what should be done:
When selectively committing changes, a backup will definitely already exist for the file. It's just that the backup may not have the right name.
For example, we have two backups:
version 1
namedname 1
version 2
namedname 2
On a selective commit, the user may want
version 1
namedname 2
ORversion 2
namedname 1
— neither of which exist in the archive.Therefore, when creating a new version, ...
The text was updated successfully, but these errors were encountered: