Skip to content

Commit 89cdbff

Browse files
bk2204gitster
authored andcommitted
doc: update gitignore for .adoc extension
We presently use the ".txt" extension for our AsciiDoc files. While not wrong, most editors do not associate this extension with AsciiDoc, meaning that contributors don't get automatic editor functionality that could be useful, such as syntax highlighting and prose linting. Instead, in a future commit, we're going to move to using the more common ".adoc" extension for these files, which many editors intrinsically recognize as an AsciiDoc file. To avoid contributors accidentally checking in generated files, ignore the new extension for generated files in the documentation .gitignore files. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 757161e commit 89cdbff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Documentation/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
git.info
88
gitman.info
99
howto-index.txt
10+
howto-index.adoc
1011
doc.dep
1112
cmds-*.txt
13+
cmds-*.adoc
1214
mergetools-*.txt
15+
mergetools-*.adoc
1316
SubmittingPatches.txt
17+
SubmittingPatches.adoc
1418
tmp-doc-diff/
1519
tmp-meson-diff/
1620
GIT-ASCIIDOCFLAGS

Documentation/technical/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
api-index.txt
2+
api-index.adoc

0 commit comments

Comments
 (0)