Ladislau Szomoru
933c22a53f
Git - Handle repository paths with a trailing \ character ( #159461 )
...
* Fix another edge case with Windows path that contains a trailing \ character
* Pull request feedback
2022-08-30 02:58:45 -07:00
Matt Bierner
f17b33faf2
Use .?method() in more places ( #152112 )
...
Switches simple patterns like:
```ts
if (some.thing) {
some.thing.method();
}
```
to:
```ts
some.thing?.method()
```
This is more concise and avoids having to repeat the `some.thing` part
2022-06-15 16:28:31 +00:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Ladislau Szomoru
ce88518440
Git - logging improvements ( #148656 )
2022-05-05 12:52:26 +00:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Ladislau Szomoru
a10dccc76a
Replace path.relative with a helper function that factors in case sensitivity but preserve the casing of the resource path
2022-01-24 12:58:24 +01:00
Ladislau Szomoru
23664355e6
Revert "Replace path.relative with a helper function that factors in case sensitivity"
...
This reverts commit c3bd29b3d0 .
2022-01-21 13:35:08 +01:00
Ladislau Szomoru
c3bd29b3d0
Replace path.relative with a helper function that factors in case sensitivity
2022-01-20 11:44:11 +01:00
Ladislau Szomoru
41a1de64ed
Handle Mac file system as case insensitive when comparing paths in the git extension. #138090
2022-01-18 21:45:25 +01:00
Ladislau Szomoru
452e2c5303
Add timestamp and execution time to Git log
2021-12-09 15:18:38 +01:00
Eric Amodio
1fd558ab2f
Fixes #117513 - deals with very old git
2021-04-01 13:50:22 -04:00
Matt Bierner
50cc1d0e97
Update to use TS 4.1 for building VS Code
2020-09-16 11:58:01 -07:00
Matt Bierner
eba1cc8de3
Remove arrays.findIndex
...
For #103454
This should be a direct map to the `.findIndex` mathod
2020-09-10 10:22:08 -07:00
João Moreno
ffda3a18cc
fixes #100183
2020-07-01 10:51:55 +02:00
João Moreno
fad4d8d254
fixes #100524
2020-06-21 22:58:32 +02:00
Joao Moreno
a2defb0625
fix build
2020-02-04 12:49:59 +01:00
Joao Moreno
3b0571d8c2
cleanup denodeify from git
2019-11-21 16:41:35 +01:00
Matt Bierner
4c4edcefeb
Fixing more TS 3.7 related compile errors
...
- Import aliasing symbol in file
- Missing function calls in conditional
- Missing return statement
2019-10-07 11:04:31 -07:00
Joao Moreno
a6177d979a
cleanup for pr #66095
2019-08-06 17:49:42 +02:00
Joao Moreno
7b1a326985
fixes #75753
2019-06-24 15:06:03 +02:00
Rob Lourens
ef2547d547
replace void 0 with undefined
2019-01-03 11:20:19 -08:00
Joao Moreno
237b77bac9
prepare for ts 3.2
2018-11-14 09:29:01 +01:00
Joao Moreno
349e31fee9
fixes #58918
2018-11-01 15:00:53 +01:00
Matt Bierner
dd3e2d94f8
Remove use strict directives in extension code
...
We compile with alwaysStrict so these directives are not needed
2018-10-02 16:02:44 -07:00
Alex Dima
c36258d23f
Use const enums (to inline their values in JS)
2018-09-06 20:39:19 +02:00
Joao Moreno
98601ceb2c
careful with path comparisons on windows
...
related to #50760
2018-05-30 09:21:46 +02:00
Joao Moreno
886f9c2e10
fixes #43161
2018-03-09 11:25:44 +01:00
Benjamin Pasero
a23edada50
debt - avoid deprecated Buffer ctors
2018-02-26 13:09:54 +01:00
Joao Moreno
920a282c16
just move a single repository up
2017-12-15 15:21:31 +01:00
Joao Moreno
c66a91bc67
hook open/close repository events to decoration change event
2017-12-14 16:28:26 +01:00
Joao Moreno
13bb4c9b85
detect submodules, make them a part of status
2017-12-13 12:03:53 +01:00
Joao Moreno
135b261f88
fixes #40079
2017-12-12 16:04:28 +01:00
Joao Moreno
a95ad23b04
fixes #38245
2017-12-07 17:23:35 +01:00
Joao Moreno
d1b9a70d17
git: data uris
2017-11-09 17:54:00 +01:00
Matt Bierner
ab1d686a41
Fix a few more errors
2017-11-06 13:43:15 -08:00
Matt Bierner
b743e245ad
Enable strict compilation settings in git extension
...
Enables strict checks in the git extensions
2017-11-06 13:33:22 -08:00
Joao Moreno
bcb3e0d00e
detect conflict markers when staging
...
fixes #33983
2017-10-03 10:21:20 +02:00
Joao Moreno
df2143f533
remove todos
2017-08-23 16:06:06 +02:00
Joao Moreno
303dd11747
git multirepo stage
2017-08-15 15:55:00 +02:00
Joao Moreno
acb83d00c0
remove Resource from git model method interfaces
2017-08-15 11:53:35 +02:00
Matt Bierner
dc0f3ecdb2
Fix VSCode/Extensions for TS 2.3.1 ( #25248 )
...
From: https://github.com/Microsoft/TypeScript/issues/15352
TS 2.3.1 introduced a breaking change around checking of generic types. This change tries to fix these compiler errors in the extensions codebase
2017-04-24 16:05:57 -07:00
Matt Bierner
0d14027696
Fix a few compile issues when using TS 2.3 ( #24731 )
...
Tested recomppiling VSCode with TS2.3. This fixes a few issues that were discovered, including workarounds for:
* https://github.com/Microsoft/TypeScript/issues/15184
* https://github.com/Microsoft/TypeScript/issues/15185
2017-04-13 17:14:50 -07:00
Joao Moreno
cc97d374da
✨ multi-select (un)stage & discard git commands
2017-03-22 10:50:32 +01:00
Joao Moreno
6814168089
🐛 mkdirp before git.clone
...
fixes #21567
2017-03-08 17:02:19 +01:00
Joao Moreno
1036ba2a73
🐛 fix disposables push with anyEvent
2017-03-08 16:29:21 +01:00
Joao Moreno
3d6b1b71c5
git: wrap up nogit state
2017-02-16 10:15:38 +01:00
Joao Moreno
343e7036ef
add todo
2017-01-27 09:31:06 +01:00
Joao Moreno
42e938f979
git: remove denodeify dependency
2017-01-26 15:14:52 +01:00
Joao Moreno
5690a47892
remove lodash dependency
...
fixes #19438
2017-01-26 14:56:17 +01:00
Joao Moreno
7ec10a9052
fixes #18662
2017-01-18 16:53:10 +01:00