This repository was archived by the owner on Jan 14, 2026. It is now read-only.
Commit 36e69bf
committed
refactor(gitcommit): address Gemini code review feedback
- Remove duplicate is_windows/shell_quote from command.lua, import from git_utils
- Refactor contributors() to limit results in Lua instead of platform-specific pipes
- Simplify filter_diff() by consolidating file path extraction logic1 parent f7e17e9 commit 36e69bf
File tree
3 files changed
+22
-46
lines changed- lua/codecompanion/_extensions/gitcommit
- tools
3 files changed
+22
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
130 | 124 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 125 | + | |
| 126 | + | |
142 | 127 | | |
143 | 128 | | |
144 | 129 | | |
| |||
Lines changed: 5 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 7 | + | |
12 | 8 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 9 | + | |
| 10 | + | |
25 | 11 | | |
26 | 12 | | |
27 | 13 | | |
| |||
244 | 230 | | |
245 | 231 | | |
246 | 232 | | |
247 | | - | |
248 | 233 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
| 234 | + | |
| 235 | + | |
256 | 236 | | |
257 | 237 | | |
258 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
| 418 | + | |
418 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
419 | 430 | | |
420 | 431 | | |
421 | 432 | | |
| |||
0 commit comments