set default on

This commit is contained in:
Lenrui committed 2026-11-06 22:47:02 -08:00
1 parent 5b1b2a7573
commit 954f6ce831
4 files changed
+7 -3

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## [1.1.1] - 2026-11-06
- Ask Before Committing on Close is now on by default.
## [1.1.0] - 2026-11-06 ## [1.1.0] - 2026-11-06
- When an HTTPS push is rejected as too large (HTTP 413), retry it over SSH, which can be on a different host. - When an HTTPS push is rejected as too large (HTTP 413), retry it over SSH, which can be on a different host.
@@ -46,7 +46,7 @@ namespace Lenrui.GitSync
static bool AskBeforeCommit static bool AskBeforeCommit
{ {
get { return EditorPrefs.GetBool(Key("AskBeforeCommit"), false); } get { return EditorPrefs.GetBool(Key("AskBeforeCommit"), true); }
set { EditorPrefs.SetBool(Key("AskBeforeCommit"), value); } set { EditorPrefs.SetBool(Key("AskBeforeCommit"), value); }
} }
+1 -1
View File
@@ -46,7 +46,7 @@ Only HTTP 413 triggers the fallback; other push failures are reported as usual.
**Tools > Git Auto Sync** **Tools > Git Auto Sync**
- **Enabled**: on by default. - **Enabled**: on by default.
- **Ask Before Committing on Close**: off by default, so closing commits and pushes without a prompt. - **Ask Before Committing on Close**: on by default. Closing shows the changed files with **Commit and Push**, **Stay Open** or **Quit Without Committing**. Turn it off to commit and push without a prompt.
- **Pull Latest Now** and **Commit and Push Now**: run either half by hand. - **Pull Latest Now** and **Commit and Push Now**: run either half by hand.
- **Settings...**: opens Project Settings > Git Auto Sync. - **Settings...**: opens Project Settings > Git Auto Sync.
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "net.lenrui.git-auto-sync", "name": "net.lenrui.git-auto-sync",
"version": "1.1.0", "version": "1.1.1",
"displayName": "Git Auto Sync", "displayName": "Git Auto Sync",
"description": "Pulls the latest commits when the Unity Editor opens, and commits and pushes your changes when it closes. Falls back to SSH when an HTTPS push is too large (HTTP 413). Stops and asks instead of guessing when there's a conflict, no network, or a failed push.", "description": "Pulls the latest commits when the Unity Editor opens, and commits and pushes your changes when it closes. Falls back to SSH when an HTTPS push is too large (HTTP 413). Stops and asks instead of guessing when there's a conflict, no network, or a failed push.",
"unity": "2019.4", "unity": "2019.4",