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

Add Code generated by .... as a comment #150

Closed
bsdlp opened this issue Apr 24, 2017 · 3 comments
Closed

Add Code generated by .... as a comment #150

bsdlp opened this issue Apr 24, 2017 · 3 comments

Comments

@bsdlp
Copy link

bsdlp commented Apr 24, 2017

https://github.com/github/linguist/blob/461c27c066ecc9107ed7c0cc9107a7ffa0f50600/lib/linguist/generated.rb#L262-L267

It would be nice if first line of the generated file contained a comment with these words in order to have github recognize that it is an code generated file and thus hide it from diffs, etc.

@tamccall
Copy link
Contributor

This likely would be fixed by #140.

I need to make sure that the comment ends up on line 0

@tamccall
Copy link
Contributor

Have confirmed that the files are not shown in the diff on github. Just need for that PR to be merged.

@tamccall
Copy link
Contributor

@bsdlp this the change to allow this was merged yesterday. Try updating from master to see if this issue can be closed.

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

No branches or pull requests

3 participants