Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

.gitignore is insufficient #12

Closed
mjlosch opened this issue Jul 21, 2017 · 1 comment
Closed

.gitignore is insufficient #12

mjlosch opened this issue Jul 21, 2017 · 1 comment

Comments

@mjlosch
Copy link
Contributor

mjlosch commented Jul 21, 2017

I find that I need to add "build" and "run" to .gitignore in order to avoid having my screen cluttered with links from the build and run directories in verification after having run ./testreport. Can git differentiate between links and real files? What would be the best syntax for excluding links in .gitignore? I couldn't find anything on the web.
I have been told that the testreport suite does "in-place-building" or similar and that that's not the best idea, but I don't think we want to go away from that, do we? We could rename all build and run directories into _build and _run, couldn't we?
Is there a better solution?

@edoddridge
Copy link
Contributor

It's possible to put .gitignore files in subdirectories, so each test directory could get its own with build and run listed. This should deal with the clutter.

Changing the directory names would also fix that, but might be more of a pain for users?

I'm not sure about how to exclude links. Will have to look into it.

christophernhill added a commit that referenced this issue Jul 24, 2017
Ignore all build and run subdirectories; closes #12.
jklymak pushed a commit to jklymak/MITgcm66h that referenced this issue Jul 26, 2017
jklymak pushed a commit to jklymak/MITgcm66h that referenced this issue Jul 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants