[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RESEND v9 5/9] .gitattributes: add Rust diff and merge attributes
From: |
Manos Pitsidianakis |
Subject: |
[PATCH RESEND v9 5/9] .gitattributes: add Rust diff and merge attributes |
Date: |
Wed, 28 Aug 2024 07:11:46 +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
a217cb7bfe96ff6c8548f510c62c6e16b2d5faa9..6dc6383d3d1199eca5479353cedb6d83d98d95ce
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.45.2
- [PATCH RESEND v9 0/9] Add Rust build support, ARM PL011 device impl, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 3/9] configure, meson: detect Rust toolchain, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 1/9] Require meson version 1.5.0, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 4/9] rust: add bindgen step as a meson dependency, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 5/9] .gitattributes: add Rust diff and merge attributes,
Manos Pitsidianakis <=
- [PATCH RESEND v9 6/9] meson.build: add HAVE_GLIB_WITH_ALIGNED_ALLOC flag, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 2/9] build-sys: Add rust feature option, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 8/9] rust: add utility procedural macro crate, Manos Pitsidianakis, 2024/08/28
- [PATCH RESEND v9 7/9] rust: add crate to expose bindings and interfaces, Manos Pitsidianakis, 2024/08/28