public inbox for bzip2-devel@sourceware.org
 help / color / mirror / Atom feed
* Re: [PATCH] Always treat .ref files as binary
  2019-01-01  0:00 [PATCH] Always treat .ref files as binary Joshua Watt
@ 2019-01-01  0:00 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2019-01-01  0:00 UTC (permalink / raw)
  To: Joshua Watt, bzip2-devel

Hi Joshua,

On Tue, 2019-07-02 at 15:06 -0500, Joshua Watt wrote:
> .ref files should always be treated as binary files so that git does
> not attempt to convert the line endings if core.autocrlf is set.

I am not a big fan of autocrlf. I think it should just be left off.
But lets not make life miserable for people who do use it. Pushed.

Thanks,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Always treat .ref files as binary
@ 2019-01-01  0:00 Joshua Watt
  2019-01-01  0:00 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Watt @ 2019-01-01  0:00 UTC (permalink / raw)
  To: bzip2-devel; +Cc: Joshua Watt

.ref files should always be treated as binary files so that git does not
attempt to convert the line endings if core.autocrlf is set.
---
 .gitattributes | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f3af893
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.ref binary
-- 
2.21.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-03 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [PATCH] Always treat .ref files as binary Joshua Watt
2019-01-01  0:00 ` Mark Wielaard

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).