[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 5/7] .gitattributes: add Rust diff and merge attributes
From: |
Manos Pitsidianakis |
Subject: |
[PATCH v7 5/7] .gitattributes: add Rust diff and merge attributes |
Date: |
Thu, 15 Aug 2024 14:42:22 +0300 |
Set rust source code to diff=rust (built-in with new git versions)
and merge=binary for Cargo.lock files (they should not be merged but
auto-generated by cargo)
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
---
.gitattributes | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitattributes b/.gitattributes
index a217cb7bfe..6dc6383d3d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,3 +2,6 @@
*.h.inc diff=c
*.m diff=objc
*.py diff=python
+*.rs diff=rust
+*.rs.inc diff=rust
+Cargo.lock diff=toml merge=binary
--
2.44.0
- [PATCH v7 0/7] Add Rust build support, ARM PL011 device impl, Manos Pitsidianakis, 2024/08/15
- [PATCH v7 1/7] Require meson version 1.5.0, Manos Pitsidianakis, 2024/08/15
- [PATCH v7 2/7] build-sys: Add rust feature option, Manos Pitsidianakis, 2024/08/15
- [PATCH v7 3/7] configure, meson: detect Rust toolchain, Manos Pitsidianakis, 2024/08/15
- [PATCH v7 4/7] rust: add bindgen step as a meson dependency, Manos Pitsidianakis, 2024/08/15
- [PATCH v7 5/7] .gitattributes: add Rust diff and merge attributes,
Manos Pitsidianakis <=
- [PATCH v7 6/7] rust: add crate to expose bindings and interfaces, Manos Pitsidianakis, 2024/08/15
- Re: [PATCH v7 6/7] rust: add crate to expose bindings and interfaces, Junjie Mao, 2024/08/16
[PATCH v7 7/7] rust: add PL011 device model, Manos Pitsidianakis, 2024/08/15
Re: [PATCH v7 0/7] Add Rust build support, ARM PL011 device impl, Peter Maydell, 2024/08/15
Re: [PATCH v7 0/7] Add Rust build support, ARM PL011 device impl, Junjie Mao, 2024/08/16