-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
47 lines (42 loc) · 2.45 KB
/
.gitattributes
File metadata and controls
47 lines (42 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 全局规范:所有文本文件用 LF。Windows 端搭配 git config core.autocrlf=input
# 检出时不会把 LF 转成 CRLF,jj 也不会因为 CRLF/LF 差异把整个 working tree
# 误识别为"已修改"。Windows 脚本类例外保留 CRLF。
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.psm1 text eol=crlf
# ref test 录制文件 / shell bootstrap 输出固定 CRLF 是测试数据语义的一部分,
# 被自动 LF normalization 改了会破坏 alacritty 回放/diff 测试。
*.recording -text
app/assets/bundled/bootstrap/*_subshell_bootstrap_block_output.txt -text
*.pdb filter=lfs diff=lfs merge=lfs -text
input_classifier/models/* filter=lfs diff=lfs merge=lfs -text
input_classifier/models/**/*tokenizer.json linguist-generated=true
# openWarp 特化路径:合并上游时永远保留 openWarp 版本
# 用法:本地需先注册驱动 `git config merge.openwarp-ours.driver true`
# CI / 新克隆者执行 `script/setup-merge-drivers.sh` 自动配置
.github/workflows/openwarp_release.yml merge=openwarp-ours
app/channels/oss/dev.goldcoders.waz.desktop merge=openwarp-ours
lib/rust-genai/** merge=openwarp-ours
# openWarp 自治区(BYOP / cloud 清理 / i18n / footer 删改 等已永久分叉)
# 上游对这些路径的所有改动一律自动保留 openWarp 版本
app/src/ai/agent_sdk/** merge=openwarp-ours
app/src/ai/blocklist/action_model/** merge=openwarp-ours
app/src/ai/blocklist/agent_view/** merge=openwarp-ours
app/src/ai/blocklist/controller.rs merge=openwarp-ours
app/src/ai/blocklist/controller/** merge=openwarp-ours
app/src/ai/blocklist/history_model/conversation_loader.rs merge=openwarp-ours
app/src/ai/blocklist/orchestration_event_poller*.rs merge=openwarp-ours
app/src/ai/execution_profiles/editor/** merge=openwarp-ours
app/src/terminal/input/slash_commands/** merge=openwarp-ours
app/src/terminal/view/ambient_agent/** merge=openwarp-ours
app/src/search/slash_command_menu/** merge=openwarp-ours
# openWarp 独有特性:SSH 管理器(2026-05-04 新增)
# 上游不会有这些路径,标记 merge=openwarp-ours 是为了将来万一上游加同名
# 文件时不产生意外冲突。
crates/warp_ssh_manager/** merge=openwarp-ours
app/src/ssh_manager/** merge=openwarp-ours
app/src/pane_group/pane/ssh_server_pane.rs merge=openwarp-ours
crates/persistence/migrations/2026-05-04-120000_add_ssh_manager_tables/** merge=openwarp-ours
crates/persistence/migrations/2026-05-04-130000_add_ssh_nodes_is_collapsed/** merge=openwarp-ours