Commit Graph

422 Commits

Author SHA1 Message Date
Ladislau Szomoru
3a0b6baa61 Git - provide correct editor title for resources under the "All Changes" node (#194273) 2023-09-27 12:05:58 +02:00
Ladislau Szomoru
8e80e950a4 Git - improve heuristics for determining branch base (#193986)
* Add getBranchBaseFromReflog

* Read/store branch merge base in the git config

* Add getBranchBase() extension api
2023-09-25 15:12:10 +01:00
Ladislau Szomoru
419e445f8d Git - fix regular expression for fully qualified ref names (#193953) 2023-09-25 11:25:51 +02:00
Ladislau Szomoru
1545aeab06 SCM - Initial implementation of the Sync view (#193440) 2023-09-19 15:58:22 +02:00
Ladislau Szomoru
3788d799d2 Git - improve logging for git detection (#192297) 2023-09-06 07:30:59 -07:00
Alex Ross
1ac6f50f44 Enable the .. argument for git log (#188500)
* Enable the `..` argument for git log
This will return the commits that the `toRef` has but the `fromRef` does not.

* Use range instead
2023-09-04 14:36:16 +02:00
Ladislau Szomoru
c7d46b2430 Git - improve getRepositoryExact() error handling (#191462)
* Git - improve getRepositoryExact() error handling

* Run async operations in parallel
2023-08-28 16:34:46 +02:00
Matt Bierner
3f8a55b32c trimLeft -> trimStart (#190601)
These should be the same but the `trimLeft` name has been deprecated
2023-08-16 11:11:20 -07:00
Ladislau Szomoru
3b9f2825b7 Git - better handle symbolic links (#186716)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-05 12:56:26 +02:00
Ladislau Szomoru
9b8f1cb437 Git - only add default branch name if supported (#185557) 2023-06-19 12:42:30 +02:00
Ladislau Szomoru
3447686499 Git - use close event when detecting git version (#184998) 2023-06-13 11:25:00 +02:00
Ladislau Szomoru
e82cbf80ba Git - only add --find-renames if the value is not the default one (#184992) 2023-06-13 09:56:29 +02:00
Ladislau Szomoru
fbdddfde42 Git - upgrade which dependency (#184607) 2023-06-08 17:28:14 +02:00
Ladislau Szomoru
bb6d7d67ff Git - handle branch name with incorrect casing (#184502) 2023-06-07 15:25:09 +02:00
Ladislau Szomoru
e7e97f8ea8 Git - handle --intent-to-add on a renamed resource (#183307) 2023-05-24 13:11:57 +02:00
Ladislau Szomoru
edcad3ab53 GitHub - use GitHub default branch name when publishing to GitHub (#183207) 2023-05-24 11:15:17 +02:00
Ladislau Szomoru
46c9471450 Git - fix git status regression for git versions older than 2.18 (#182739)
* Git - fix git status regression for git versions older than 2.18

* 💄 - Tweak version number
2023-05-17 11:17:53 +02:00
Ladislau Szomoru
b0252732a7 Git - add similarity threshold setting (#182492) 2023-05-15 12:59:33 +02:00
Ladislau Szomoru
b4469cf109 Git - add setting to control default branch name (#181884)
* Initial implementation

* Refactor based on discussions

* More pull request feedback
2023-05-10 20:52:13 +02:00
Ladislau Szomoru
be84f97b9a Git - fix edge case when the repository is at the root of a mapped drive (#171749)
* Git - Handle repository at the root of a mapped drive

* Update comment
2023-01-19 20:46:21 +01:00
Ladislau Szomoru
9a9d7bfdde Git - Update getRefs pattern when querying for branches and tags (#171605) 2023-01-18 12:41:32 +01:00
Ladislau Szomoru
99ecdd4122 Git - Another attempt to fix an edge case for adding a safe directory (#171151)
* Git - Another attempt to fix an edge case for adding a safe directory

* Pull request feedback
2023-01-13 20:10:48 +01:00
Ladislau Szomoru
827636e106 Git - Add getRefs() extension API (#170903)
* Add `getRefs()` extension API

* Cleanup
2023-01-11 11:21:23 +01:00
Ladislau Szomoru
65962c405e Git - cleanup getRemotes() (#169839)
* Git - cleanup getRemotes()

* Remove test for read-only remote as the code to determine that a remote is read-only has been moved out of the function that does the parsing
2023-01-09 14:24:35 +01:00
Ladislau Szomoru
1542e90126 Git - Add command to delete remote tags (#170415)
Add command to delete remote tags
2023-01-03 06:08:48 -08:00
Ladislau Szomoru
1d18dfc209 Git - detect when HEAD is a tag (#170271)
* HEAD set when checking out a tag

* Remove more calls

* Remove tag references when in detached mode
2023-01-03 06:07:46 -08:00
Ladislau Szomoru
2c8b54bbbf Git - Add support for git stash --staged (#169539)
Add support for git stash --staged
2022-12-19 15:04:55 +01:00
Ladislau Szomoru
c180a08350 Git - fix discard changes when the repository does not have an initial commit (#169397) 2022-12-16 14:47:25 +01:00
Ladislau Szomoru
5d8216787f Git - Remove double quotation mark from the property value (#168981)
Remove double quotation mark from the property value
2022-12-13 14:08:10 +01:00
Ladislau Szomoru
d97a30c701 Git - Improve unsafe repository handling (#168568)
Improve unsafe repository handling by extracting the  repository path to be used when calling git config
2022-12-09 20:23:35 +01:00
Ladislau Szomoru
d0b47f6c30 Git - Unsafe repositories flow polish (#167728) 2022-11-30 16:39:59 +01:00
Ladislau Szomoru
075f04bf39 Git - Fix GitConfigParser regression (#167309)
Fix #166264
2022-11-28 17:01:40 +11:00
Ladislau Szomoru
d4a299631a Git - Handle tag conflict during pull operation (#167278)
Handle tag conflict during pull operation
2022-11-25 17:05:22 +00:00
Ladislau Szomoru
3a52e79cea Git - handle unsafe repositories (#167248) 2022-11-25 14:40:23 +01:00
Ladislau Szomoru
8fd500ed74 Git - Add calcellation support for getRefs (#165938) 2022-11-10 12:25:53 -08:00
Ladislau Szomoru
624f4ac076 Git - Tweak git config parser (#166022)
Tweak git config parser
2022-11-10 18:04:35 +01:00
Ladislau Szomoru
b4eaea6bc6 Git - get remotes from the config file (#165909) 2022-11-10 14:35:43 +01:00
Ladislau Szomoru
08baa8abb4 Git - Only use this.dotGit when resolving HEAD (#165497)
Fix #164363
2022-11-04 23:15:42 -07:00
Logan Ramos
eafc1e0fe1 Remove overzealous telemetry (#165524) 2022-11-04 10:47:35 -07:00
Joyce Er
812c9bedf2 Fix cloning with specific branch (#164619) 2022-10-25 15:27:41 -07:00
Ladislau Szomoru
566e71b346 Revert "Git - parse config file for remotes (#164151)" (#164433)
This reverts commit 798cd3bcac.
2022-10-24 13:28:06 +02:00
Joyce Er
7318c90996 Checkout specific branch during clone operation (#163705) 2022-10-23 20:23:35 +02:00
Ladislau Szomoru
798cd3bcac Git - parse config file for remotes (#164151) 2022-10-21 06:57:22 -07:00
Ladislau Szomoru
9c76d66e69 Git - implement cancellation for updating the model (#163926)
* Initial implementation

* Polish implementation

* Add cancelled label in the output

* Revert change that is not needed

* Pull request feedback

* Dispose listener

* Port changes manually
2022-10-20 06:26:22 -07:00
Ladislau Szomoru
2fa61a14b8 Git - Extract querying for status so that it can run in parallel with the other operations (#163990) 2022-10-20 04:37:04 -07:00
Ladislau Szomoru
d4773517f1 Git - Get HEAD details in parallel (#163756) 2022-10-18 09:42:07 +02:00
Ladislau Szomoru
e1e7ce5d17 Git - adopt log output channel api (#163695) 2022-10-17 02:49:12 -07:00
Ladislau Szomoru
b43c281df2 Git - Attempt to parse HEAD file before invoking git.exe (#162572)
* Attempt to parse HEAD file before invoking git.exe

* Pull request feedback

* Pull request feedback

* More pull request feedback
2022-10-12 15:56:36 +02:00
Johannes Rieken
03f98efb75 fix Extract Telemetry step (#162832) 2022-10-06 06:17:12 -07:00
Johannes Rieken
b2b7e0be6e send telemetry about git-exec duration (#162731)
* send telemetry about git-exec duration

* measure spawn and exec
2022-10-06 04:04:35 -07:00