Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small git tweaks #1

Merged
merged 5 commits into from
May 15, 2014
Merged

Small git tweaks #1

merged 5 commits into from
May 15, 2014

Conversation

robkooper
Copy link
Contributor

@mdietze @rgknox final tweaks for git.

I tweaked the .gitignore file (which was .bzrignore) before and combined some of the exclude files into more generic rules, for example *.o to ignore all .o files, and /bin/.[Ff]90 to ignore all f90 files in the bin folders (put there during the compile process). I also added *, # and .nfs as generic ignore rules. I deleted any of * files since those are backup files.

I setup a .gitattributes file which lists some explicit file types, for example all .[fF]90 files are to be treated as ascii files and should try to use a diff program that can handle fortran code. I also add a specific rule for .m files to be text and use matlab aware diff program, and .mat to be binary. Some of the .m files had CR-LF as line endings (used under windows) that got changed to be LF. If you check out the repository though, git is smart enough to add CR-LF on a windows machine.

@rgknox
Copy link
Contributor

rgknox commented May 14, 2014

I see no reason this can't be merged. Mike, merge it in after you review. Thanks Rob.

@rgknox
Copy link
Contributor

rgknox commented May 14, 2014

Note, I need to add some fixes to my last commits, I will apply them to this release once this merge has been applied, and make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants