mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-17 03:39:33 +01:00
chore: replace the em-dashes this release added with plain punctuation
The merged PRs (mostly #714's git fetch) added about 120 em-dashes in comments, docs, test names and three settings strings. Each one is now a comma, colon, semicolon or parentheses. The English settings strings in index.html and their i18n.js keys change together, and the zh-CN value for the fetch interval uses full-width parentheses instead of a double dash. The one left is the regex in constants.js that matches a dash typed as a word, which is behaviour, not punctuation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
de1aab9b86
commit
c04fa97f78
28 files changed
+91
-91
No files matched your search
@@ -90,7 +90,7 @@ bounds the Git window's Fetch button; raise it for repositories on a slow networ
|
||||
|
||||
**Git fetch on an interval** (synced, off by default) runs `git fetch` on a timer for the repositories the
|
||||
Git window lists, so the `behind` number is current without a click, and **Git fetch: how often** (synced,
|
||||
30 to 3600 seconds, default 300) is the gap between runs for a session that has no override of its own — timed from
|
||||
30 to 3600 seconds, default 300) is the gap between runs for a session that has no override of its own, timed from
|
||||
the start of a run, so a slow repository does not push the next one out. These are the only Git settings
|
||||
that are synced rather than per device, because the server's scheduler is what acts on them: kept per
|
||||
device, the scheduler would read nobody's number. **Session Options → Git** overrides both the switch and
|
||||
@@ -98,13 +98,13 @@ the interval for one session, and that override wins even while the app switch i
|
||||
the app shows the app's values and its rows go inert until you turn **Follow the app setting** off. Nothing is
|
||||
ever fetched for a Docker or remote (SSH) session, and a repository a container can write to is refused
|
||||
before any git runs. Sessions open on the same folder share one run, and a folder is fetched when ANY session open on it is due, so the order the sessions were read cannot decide which interval wins. Both default to off because `git fetch`
|
||||
is the one git command the Git window runs that writes — cloning and worktree management write too, but only
|
||||
when you asked for them at the moment you asked — and the one that can run a repository's own hooks
|
||||
is the one git command the Git window runs that writes (cloning and worktree management write too, but only
|
||||
when you asked for them at the moment you asked), and the one that can run a repository's own hooks
|
||||
(`reference-transaction`, `pre-auto-gc` through the maintenance a fetch triggers, and config commands such as
|
||||
`credential.helper`), and the one that can run later by itself, on a timer. The ssh it runs is BatchMode so
|
||||
nothing waits for a login, and that is a default, never an override: your own `GIT_SSH_COMMAND`, or the
|
||||
repository's `core.sshCommand`, is used when either is set. ⚠️ The default's `StrictHostKeyChecking=accept-new`
|
||||
records an unknown host key in `~/.ssh/known_hosts` without asking — BatchMode stops a prompt, not a write.
|
||||
records an unknown host key in `~/.ssh/known_hosts` without asking: BatchMode stops a prompt, not a write.
|
||||
|
||||
Most default to off. The stock desktop header is system stats, File Viewer, Tiles, and the gear.
|
||||
**Header Stats Style** picks how the system stats and plan usage are drawn: *Compact*
|
||||
|
||||
@@ -249,12 +249,12 @@ Click it for a draggable window, in the style of the File Viewer:
|
||||
window then re-reads, so "behind" is as of that fetch. A repository that could not be fetched keeps
|
||||
its row and shows why. **Git fetch on an interval** (Settings → Bottom bar, off by default) runs the
|
||||
same fetch on a timer for every session that is on, and **Session Options → Git** overrides both the
|
||||
switch and the interval for one session — a session that turned itself on runs even while the app-wide
|
||||
switch and the interval for one session: a session that turned itself on runs even while the app-wide
|
||||
switch is off, sessions open on the same folder share one run, and nothing is ever fetched for Docker or
|
||||
remote (SSH) sessions.
|
||||
|
||||
It is read-only apart from that fetch: Codeman never commits, checks out or changes the
|
||||
repository, and `git fetch` writes remote-tracking refs only — it is the only git command the Git window
|
||||
repository, and `git fetch` writes remote-tracking refs only; it is the only git command the Git window
|
||||
runs that writes, the only one that can run a repository's own hooks (`reference-transaction`,
|
||||
`pre-auto-gc` through the maintenance a fetch triggers, and config commands such as `credential.helper`),
|
||||
and the only one that can run later by itself, on a timer: cloning and worktree management write too, but
|
||||
@@ -266,7 +266,7 @@ and git would run that repository's own configuration on the host). Fetch asks n
|
||||
uses the sign-in your own git already has, and it gives up quickly rather than waiting on an
|
||||
invisible login prompt. That BatchMode ssh is a default, never an override: your own
|
||||
`GIT_SSH_COMMAND`, or the repository's `core.sshCommand`, is used when either is set, and ⚠️ the default's
|
||||
`StrictHostKeyChecking=accept-new` records an unknown host key in `~/.ssh/known_hosts` without asking —
|
||||
`StrictHostKeyChecking=accept-new` records an unknown host key in `~/.ssh/known_hosts` without asking:
|
||||
BatchMode stops a prompt, not a write. The
|
||||
data comes from `GET /api/sessions/:id/git-status`, `GET /api/sessions/:id/git-diff` and, on that
|
||||
click or the interval you turned on, `POST /api/sessions/:id/git-fetch`
|
||||
|
||||
Reference in new issue
Block a user