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

[enhancement] 添加 .gitattributes #252

Merged
merged 2 commits into from
Jan 8, 2018
Merged

Conversation

gaocegege
Copy link
Member

@gaocegege gaocegege commented Jan 8, 2018

Close #241

Signed-off-by: Ce Gao ce.gao@outlook.com

Signed-off-by: Ce Gao <ce.gao@outlook.com>
@gaocegege gaocegege changed the title WIP: 添加 .gitattributes [enhancement] 添加 .gitattributes Jan 8, 2018
@gaocegege
Copy link
Member Author

gaocegege commented Jan 8, 2018

$ linguist --breakdown
97.66%  TeX
1.24%   Makefile
1.10%   Batchfile

Makefile:
Makefile

TeX:
bib/thesis.bib
figure/example/flow_chart.tex
sjtuthesis.cls
tex/abstract.tex
tex/ack.tex
tex/app_cjk.tex
tex/app_eq.tex
tex/app_log.tex
tex/app_setup.tex
tex/end_english_abstract.tex
tex/example.tex
tex/faq.tex
tex/id.tex
tex/intro.tex
tex/patents.tex
tex/projects.tex
tex/projectsreview.tex
tex/pub.tex
tex/pubreview.tex
tex/summary.tex
tex/symbol.tex
thesis.tex

Batchfile:
compile.bat

@gaocegege
Copy link
Member Author

PTAL @AlexaraWu

@gaocegege
Copy link
Member Author

分离了学位论文和使用说明后, 我们的语言统计应该会更加好看一些

@gaocegege
Copy link
Member Author

OK, SGTM

Copy link
Collaborator

@AlexaraWu AlexaraWu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加点注释,这样如何?

# Auto detect text files and perform LF normalization
* text=auto

# except .bat
*.bat eol=crlf

# Ignore binary or vendored files
*.pl linguist-vendored

Signed-off-by: Ce Gao <ce.gao@outlook.com>
@gaocegege
Copy link
Member Author

PTAL

Copy link
Collaborator

@AlexaraWu AlexaraWu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gaocegege gaocegege merged commit e90299e into sjtug:dev Jan 8, 2018
@gaocegege gaocegege deleted the attributes branch January 8, 2018 06:13
gaocegege added a commit that referenced this pull request Jan 9, 2018
* .gitattributes: Add

Signed-off-by: Ce Gao <ce.gao@outlook.com>

* .gitattributes: Fix as @AlexaraWu suggested

Signed-off-by: Ce Gao <ce.gao@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants