Re: how to configure Git to treat certain type of ascii files as binary files
- From
- david@lang.hm <david@lang.hm>
- Date
- Oct 22, 2008, 22:13 UTC
- Message-ID
- <alpine.DEB.1.10.0810221511590.24463@asgard.lang.hm>
- In-Reply-To
- <65d12cb10810221458j14ef0009u679cdb0f73299d7f@mail.gmail.com>
On Wed, 22 Oct 2008, Weiwei Shu wrote:
Show 12 quoted lines
> Hello everyone, > > My first post in this mailing list. Could some one direct me to some > document/manual pages to setup Git to treat ascii files as binary > files? I'm using Git to do circuit schematics (SPICE files) > versioning. I will not do any merging or editing stuff with external > editors. The only way to change it is to use schematic capture GUIs > (Cadence, ADS, etc). So I'd like to treat them as binary files to > reduce the possibilities of messing them up. > > I know it seems a little bit stupid to use Git to do such an easy job. > But hey, it's the most eye-catching SCM software, isn't it?
unless you enable cr/lf handling git won't change ascii files.
what is it that you think needs to be done differently for these files than for any other files?
David Lang