Commit Graph

256 Commits

Author SHA1 Message Date
Ladislau Szomoru 8baa7ed3e3 Git - fix repository detection regression (#187578) 2023-07-11 15:09:39 +02:00
Ladislau Szomoru ccea02b96d Git - avoid opening a repository multiple times if symbolic links are used (#187435) 2023-07-10 15:16:02 +02: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 b51aabb6dc Git - fix welcome view regression (#185233) 2023-06-15 16:57:31 +02:00
Ladislau Szomoru 17c88bf045 Git - extract code into UnsafeRepositoryManager (#184896) 2023-06-12 12:29:47 +02:00
Ladislau Szomoru b0b1af125c Git - extract code into ParentRepositoriesManager (#184891) 2023-06-12 11:47:30 +02:00
Ladislau Szomoru 12533c5490 Git - extract close repository management into its own class (#184752) 2023-06-09 14:54:38 -07:00
Ladislau Szomoru 9979f9cc3c Git - close repository improvements (#184708)
* Initial implementation

* Move ObservableSet into a separate file

* Add quick pick for reopening closed repositories

* Fix issue with initializing the context key

* Add welcome views
2023-06-09 13:19:57 +02:00
Ladislau Szomoru b7be44e639 GitHub - fix an issue with toggling branch protection setting (#182536)
* GitHub - fix an issue with toggling branch protection setting

* 💄 Remove variable

* Pull request feedback
2023-05-15 21:03:27 +02:00
Ladislau Szomoru bb7570f4f8 GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Ladislau Szomoru a1eb9e2b48 Git - implement branch protection provider (#179752)
* Branch protection using settings is working

* Revert extension api changes

* Refactor code
2023-04-12 08:48:29 +01:00
Ladislau Szomoru 01f32e6a44 Git - do not try to resolve workspace folders that do not use the file scheme (#173546) 2023-02-06 03:33:06 -08:00
Ladislau Szomoru 43db9d2d06 Git - add trace message if workspace folder cannot be resolved (#173410) 2023-02-04 10:15:27 +01:00
Ladislau Szomoru 4b2a44d7ec Git - fix regression caused by workspace folder that cannot be resolved using fs.realpath() (#173372) 2023-02-03 13:25:25 -08:00
Ladislau Szomoru 907e888754 Git - remove the commitInProgress context for the commit message commands (#172761) 2023-01-30 14:25:54 +01:00
Ladislau Szomoru 82ed9fd51c Git - fix wording for git repositories in parent folders (#172375)
* Git - update wording based on feedback

* Git - update wording based on feedback
2023-01-25 12:59:15 +01:00
Ladislau Szomoru c35bf3b340 Git - change parent folder notification severity (#172230) 2023-01-24 19:18:37 +01:00
Ladislau Szomoru 9b63d86d77 Git - Add back logging message that was removed during refactoring (#171831) 2023-01-20 15:35:55 +01:00
Ladislau Szomoru 78f9b06101 Git - handling git repositories in parent folders (#171726) 2023-01-20 09:10:53 +01:00
Ladislau Szomoru e37cad47f2 Revert "Git - Improvements to opening git repositories in parent folders (#171617)" (#171662)
This reverts commit fe423bbdba.
2023-01-18 20:57:55 +01:00
Ladislau Szomoru fe423bbdba Git - Improvements to opening git repositories in parent folders (#171617)
* Initial implementation for external repositories

* Added setting

* Add basic welcome views

* Replaced "Always Open" with "Configure"

* Remove code duplication

* Polish based on feedback

* Language consistency

* Update notification severity

* Move away from the "external repository" terminology

* Refactor notification logic

* Saving my changes

* Further improvements

* Refactor parent repository notification

* Update message and fix edge case when setting is set to `never`
2023-01-18 15:27:58 +01:00
Ladislau Szomoru df6f1b8ac5 Git - only show unsafe repository notification if we cannot use a welcome view. (#171485) 2023-01-17 13:36:41 +01:00
Ladislau Szomoru e1719c310d Git - Add blocking property to operation types (#169781) 2022-12-21 21:29:30 +01:00
Ladislau Szomoru 9e195507a2 Git - Define Operations as types (#169518)
Define Operations as types
2022-12-21 06:53:29 -08:00
Ladislau Szomoru 4dea68b946 Git - Add the capability to "attach" state to operations (#169371) 2022-12-16 11:08:38 +01:00
Ladislau Szomoru 7febede390 Git - more tweaks to command enablement (#169292)
Use a new context for enablement
2022-12-15 18:37:03 +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 4ccf2d729b Git - fix untracked group commands (#168593) 2022-12-09 14:52:09 +01:00
Ladislau Szomoru 55d6b17e19 Git - Update unsafe repositories link (#167832)
Update unsafe repositories link
2022-12-01 13:40:05 +01:00
Ladislau Szomoru d0b47f6c30 Git - Unsafe repositories flow polish (#167728) 2022-11-30 16:39:59 +01:00
Ladislau Szomoru 5c41d2b0fc Git - fix unsafe repository path to use \ as path separator (#167711)
Fix #167515
2022-11-30 11:46:12 +01:00
Ladislau Szomoru 4934caaf88 Git - improve unsafe repository message based on feedback (#167701)
Fix #167595
2022-11-30 10:15:44 +01:00
Ladislau Szomoru 3a52e79cea Git - handle unsafe repositories (#167248) 2022-11-25 14:40:23 +01:00
Ladislau Szomoru a13757c4ae Git - Additional tracing for opening git submodules (#167036)
Additional tracing for opening git submodules
2022-11-23 10:35:46 +01:00
Ladislau Szomoru 348a6585c7 Git - Show progress while doing the initial repository discovery (#165695)
Show progress while doing the initial repository discovery
2022-11-08 14:29:37 +01:00
Ladislau Szomoru f09c4124a2 Engineering - adopt l10n for git-base/git/github extesions (#164566)
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-10-28 11:27:08 +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
Ladislau Szomoru d904014287 Git - fix commitInProgress context key (#162562)
Fix #154628
2022-10-03 15:02:24 +02:00
Johannes Rieken a2fe848791 set git.mergeChanges context key for all repos, not just one (#162339)
fixes https://github.com/microsoft/vscode/issues/162224
2022-09-29 05:50:07 -07:00
Ladislau Szomoru eff6fa7696 Git - discover nested git repositories (#159291) 2022-09-07 15:35:46 +02:00
Ladislau Szomoru 4542a16b0b Git - fix telemetry comment (#160117)
Fix telemetry comment
2022-09-05 21:09:24 +02:00
Ladislau Szomoru bb2c77dea1 Git - Initial repository scan telemetry (#160102)
Initial repository scan telemetry
2022-09-05 08:12:25 -07:00
Ladislau Szomoru 70a1ebd595 Git - Add events to IPostCommitCommandsProviderRegistry (#155051)
* Add events to IPostCommitCommandsProviderRegistry

* Pull request feedback
2022-07-14 10:46:57 +02:00
Ladislau Szomoru c7c0acd2ce Git - Commit action button extension api (#154555) 2022-07-12 17:06:16 +02:00
Ladislau Szomoru 42ec698ec9 Git - Add trace level telemetry to repository discovery (#149469)
* Add trace level telemetry to help investigate repository scan issues

* Remove empty line

* Switch back to the localized warning message
2022-05-13 16:31:28 +02:00
Ladislau Szomoru ce88518440 Git - logging improvements (#148656) 2022-05-05 12:52:26 +00:00
Ladislau Szomoru 0e5a8e4bc0 Git - Disable automatic repository scanning in the root of the HOMEDRIVE (#339)
* Disable automatic repository scanning in the root of the HOMEDRIVE

* Fix condition

* Pull request feedback
2022-04-12 11:03:24 -07:00
Ladislau Szomoru 404fe73c20 Enable more logging during repository discovery 2022-04-08 16:59:56 +02:00
Ladislau Szomoru c32b9a6114 Add setting to control repository scan 2022-01-26 20:07:25 +01:00