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
Copy file name to clipboardExpand all lines: tcr-commit-and-push.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ if [[ -z $statusResult ]]; then
10
10
fi
11
11
12
12
read -r -d '' applescript <<'EndOfScript'
13
-
set commitMessage to text returned of (display dialog "Commit message:" default answer "" buttons {"Commit"} default button "Commit")
13
+
set instructions to "(Leave empty to cancel)"
14
+
set commitMessage to text returned of (display dialog instructions default answer "" with title "Commit message:" buttons {"Commit"} default button "Commit")
Copy file name to clipboardExpand all lines: tcr-commit.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ if [[ -z $statusResult ]]; then
10
10
fi
11
11
12
12
read -r -d '' applescript <<'EndOfScript'
13
-
set commitMessage to text returned of (display dialog "Commit message:" default answer "" buttons {"Commit"} default button "Commit")
13
+
set instructions to "(Leave empty to cancel)"
14
+
set commitMessage to text returned of (display dialog instructions default answer "" with title "Commit message:" buttons {"Commit"} default button "Commit")
0 commit comments