projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fdc5bc
)
.gitattributes: add Rust diff and merge attributes
author
Manos Pitsidianakis
<manos.pitsidianakis@linaro.org>
Thu, 3 Oct 2024 13:28:47 +0000
(16:28 +0300)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:17 +0000
(12:32 +0200)
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>
Link:
https://lore.kernel.org/r/278e3878b40ecc7c424dec1ed978eedf21469f52.1727961605.git.manos.pitsidianakis@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitattributes
patch
|
blob
|
history
diff --git
a/.gitattributes
b/.gitattributes
index a217cb7bfe96ff6c8548f510c62c6e16b2d5faa9..6dc6383d3d1199eca5479353cedb6d83d98d95ce 100644
(file)
--- 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