Skip to content

Commit e95c74c

Browse files
committed
Extract git static contributions into a separate extension
1 parent 4549bd2 commit e95c74c

18 files changed

+115
-71
lines changed

extensions/git-base/.vscodeignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/**
2+
cgmanifest.json

extensions/git-base/cgmanifest.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"registrations": [
3+
{
4+
"component": {
5+
"type": "git",
6+
"git": {
7+
"name": "textmate/git.tmbundle",
8+
"repositoryUrl": "https://github.com/textmate/git.tmbundle",
9+
"commitHash": "5870cf3f8abad3a6637bdf69250b5d2ded427dc4"
10+
}
11+
},
12+
"licenseDetail": [
13+
"Copyright (c) 2008 Tim Harper",
14+
"",
15+
"Permission is hereby granted, free of charge, to any person obtaining",
16+
"a copy of this software and associated documentation files (the\"",
17+
"Software\"), to deal in the Software without restriction, including",
18+
"without limitation the rights to use, copy, modify, merge, publish,",
19+
"distribute, sublicense, and/or sell copies of the Software, and to",
20+
"permit persons to whom the Software is furnished to do so, subject to",
21+
"the following conditions:",
22+
"",
23+
"The above copyright notice and this permission notice shall be",
24+
"included in all copies or substantial portions of the Software.",
25+
"",
26+
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,",
27+
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF",
28+
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND",
29+
"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE",
30+
"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION",
31+
"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION",
32+
"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
33+
],
34+
"license": "MIT",
35+
"version": "0.0.0"
36+
}
37+
],
38+
"version": 1
39+
}

extensions/git-base/package.json

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"name": "git-base",
3+
"displayName": "%displayName%",
4+
"description": "%description%",
5+
"version": "1.0.0",
6+
"publisher": "vscode",
7+
"license": "MIT",
8+
"engines": {
9+
"vscode": "0.10.x"
10+
},
11+
"scripts": {
12+
"update-grammar": "node ./build/update-grammars.js"
13+
},
14+
"contributes": {
15+
"languages": [
16+
{
17+
"id": "git-commit",
18+
"aliases": [
19+
"Git Commit Message",
20+
"git-commit"
21+
],
22+
"filenames": [
23+
"COMMIT_EDITMSG",
24+
"MERGE_MSG"
25+
],
26+
"configuration": "./languages/git-commit.language-configuration.json"
27+
},
28+
{
29+
"id": "git-rebase",
30+
"aliases": [
31+
"Git Rebase Message",
32+
"git-rebase"
33+
],
34+
"filenames": [
35+
"git-rebase-todo"
36+
],
37+
"configuration": "./languages/git-rebase.language-configuration.json"
38+
},
39+
{
40+
"id": "ignore",
41+
"aliases": [
42+
"Ignore",
43+
"ignore"
44+
],
45+
"extensions": [
46+
".gitignore_global",
47+
".gitignore"
48+
],
49+
"configuration": "./languages/ignore.language-configuration.json"
50+
}
51+
],
52+
"grammars": [
53+
{
54+
"language": "git-commit",
55+
"scopeName": "text.git-commit",
56+
"path": "./syntaxes/git-commit.tmLanguage.json"
57+
},
58+
{
59+
"language": "git-rebase",
60+
"scopeName": "text.git-rebase",
61+
"path": "./syntaxes/git-rebase.tmLanguage.json"
62+
},
63+
{
64+
"language": "ignore",
65+
"scopeName": "source.ignore",
66+
"path": "./syntaxes/ignore.tmLanguage.json"
67+
}
68+
]
69+
}
70+
}

extensions/git-base/package.nls.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"displayName": "Git Base",
3+
"description": "Git static contributions and pickers."
4+
}

extensions/git/package.json

-55
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"compile": "gulp compile-extension:git",
2424
"watch": "gulp watch-extension:git",
2525
"update-emoji": "node ./build/update-emoji.js",
26-
"update-grammar": "node ./build/update-grammars.js",
2726
"test": "node ../../node_modules/mocha/bin/mocha"
2827
},
2928
"capabilities": {
@@ -2290,60 +2289,6 @@
22902289
}
22912290
}
22922291
],
2293-
"languages": [
2294-
{
2295-
"id": "git-commit",
2296-
"aliases": [
2297-
"Git Commit Message",
2298-
"git-commit"
2299-
],
2300-
"filenames": [
2301-
"COMMIT_EDITMSG",
2302-
"MERGE_MSG"
2303-
],
2304-
"configuration": "./languages/git-commit.language-configuration.json"
2305-
},
2306-
{
2307-
"id": "git-rebase",
2308-
"aliases": [
2309-
"Git Rebase Message",
2310-
"git-rebase"
2311-
],
2312-
"filenames": [
2313-
"git-rebase-todo"
2314-
],
2315-
"configuration": "./languages/git-rebase.language-configuration.json"
2316-
},
2317-
{
2318-
"id": "ignore",
2319-
"aliases": [
2320-
"Ignore",
2321-
"ignore"
2322-
],
2323-
"extensions": [
2324-
".gitignore_global",
2325-
".gitignore"
2326-
],
2327-
"configuration": "./languages/ignore.language-configuration.json"
2328-
}
2329-
],
2330-
"grammars": [
2331-
{
2332-
"language": "git-commit",
2333-
"scopeName": "text.git-commit",
2334-
"path": "./syntaxes/git-commit.tmLanguage.json"
2335-
},
2336-
{
2337-
"language": "git-rebase",
2338-
"scopeName": "text.git-rebase",
2339-
"path": "./syntaxes/git-rebase.tmLanguage.json"
2340-
},
2341-
{
2342-
"language": "ignore",
2343-
"scopeName": "source.ignore",
2344-
"path": "./syntaxes/ignore.tmLanguage.json"
2345-
}
2346-
],
23472292
"configurationDefaults": {
23482293
"[git-commit]": {
23492294
"editor.rulers": [

extensions/git/test/colorize-fixtures/git-rebase-todo

-15
This file was deleted.

extensions/git/test/mocha.opts

-1
This file was deleted.

extensions/vscode-colorize-tests/test/colorize-fixtures/git-rebase-todo

Whitespace-only changes.

0 commit comments

Comments
 (0)