-
A authored
- 新增 .gitattributes:`* text=auto eol=lf`,PNG/PPTX 等二进制不参与转换 - 背景:开发在 Windows(Git for Windows 系统 gitconfig 开了 core.autocrlf=true), 但内核源码、shell harness、链接脚本都要在 Linux/QEMU 上跑。CRLF 会让 `#!/bin/bash\r` 报 "bad interpreter: /usr/bin/env bash^M", 汇编与 C 源码也会混进 ^M 噪声 - `git add --renormalize .` 归一化 index:原先 lab-1/LICENSE 与 lab-2/LICENSE 以 CRLF 存进仓库,现统一为 LF(lab-6 提交时已是 101/101 全 LF) - 提交 blob 保持不变的部分:全部源码、spec、测试脚本仍是 LF, 只有上述 2 个 LICENSE 文件内容被规范化 Signed-off-by:
A <xingguangzengyuyi@gitee.com>e18ef429
This project is licensed under the Mulan Permissive Software License, Version 2.
Learn more