clogger RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] add .gitattributes for Ruby diffs
@ 2024-02-02  7:47 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2024-02-02  7:47 UTC (permalink / raw)
  To: clogger-public

This allows us to have nicer hunk headers.
---
 .gitattributes | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..a365646
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+*.gemspec diff=ruby
+*.rb diff=ruby
+Rakefile diff=ruby

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-02  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-02  7:47 [PATCH] add .gitattributes for Ruby diffs Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/clogger.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).