pinokiod 3.6.43 → 3.6.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/kernel/bin/git.js CHANGED
@@ -35,12 +35,12 @@ class Git {
35
35
  await this.kernel.bin.exec({ message: "conda remove git" }, ondata)
36
36
  }
37
37
  env() {
38
- if (this.kernel.platform === 'win32') {
38
+ // if (this.kernel.platform === 'win32') {
39
39
  let gitconfig_path = path.resolve(this.kernel.homedir, "gitconfig")
40
40
  return {
41
41
  GIT_CONFIG_GLOBAL: gitconfig_path
42
42
  }
43
- }
43
+ // }
44
44
  }
45
45
  async requires() {
46
46
  return ["conda"]
@@ -278,6 +278,14 @@ class Bin {
278
278
  // pipconfig_path
279
279
  // )
280
280
  }
281
+
282
+ // add gitconfig => support git lfs, long path, etc.
283
+ let gitconfig_path = path.resolve(this.kernel.homedir, "gitconfig")
284
+ // check if gitconfig exists
285
+ await fs.promises.copyFile(
286
+ path.resolve(__dirname, "..", "gitconfig_template"),
287
+ gitconfig_path
288
+ )
281
289
  }
282
290
 
283
291
 
@@ -2,3 +2,10 @@
2
2
  longpaths = true
3
3
  [http]
4
4
  postBuffer = 524288000
5
+ [safe]
6
+ directory = '*'
7
+ [filter "lfs"]
8
+ clean = git-lfs clean -- %f
9
+ smudge = git-lfs smudge -- %f
10
+ process = git-lfs filter-process
11
+ required = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.6.43",
3
+ "version": "3.6.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {