Repository navigation
Commit c1b0cee
Merge pingdotgg#12602: answer cheap git metadata from repository files
SkiTee3000's open upstream PR (issues pingdotgg#8949, pingdotgg#11220, pingdotgg#12498): read-only git
questions the idle server asks every tick (rev-parse, symbolic-ref, remote,
config --get, show-ref, for-each-ref, rev-list counts) are answered from the
files under .git, byte for byte, or fall back to spawning git.
T3CODE_GIT_FAST_PATH=0 turns it off.
Checked on this PC before merging: 114 commands across pet-simulator-99, two
of its agent worktrees, t3code, agent-kit and a non-repository folder; 101
answered from files, 0 differ from git's output, 0.86 s against 5.7 s for git
on a warm pass. The git suites fail the same 7 Windows tests as fork main.
Merged as its branch, not squashed: if upstream lands it, the sync merge sees
the same changes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>7 files changed
Lines changed: 2647 additions & 46 deletions
File tree
- apps/server/src
- observability
- project
- vcs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | | - | |
119 | | - | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| |||
142 | 151 | | |
143 | 152 | | |
144 | 153 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
0 commit comments