Commit Graph

267 Commits

Author SHA1 Message Date
Ladislau Szomoru
f3930566bd Git - 💄 fix log message format (#221218) 2024-07-08 20:51:52 +02:00
Ladislau Szomoru
c040699c44 Git - standardize logging in the git extension (#220043)
* Git - more logging

* Git - more logging changes
2024-07-05 11:26:48 +02:00
Ladislau Szomoru
83c722d9a1 Git - 💄 better error handling and clean-up logging (#219975) 2024-07-04 17:12:06 +02:00
Ladislau Szomoru
cf3e34fc2f Git - add error handling for traversing workspace folders during repository discovery (#213975) 2024-05-31 11:24:12 +02:00
Ladislau Szomoru
dd2038279d Git - fix repository deduplication logic (#203836) 2024-01-30 21:54:36 +01:00
Ladislau Szomoru
1466cbfcdf SCM - delete scmInputBoxActionButton proposal (#200012) 2023-12-05 10:52:01 +01:00
Ladislau Szomoru
56088b01d9 Git - fix issue related to opening parent repositories (#196822) 2023-10-27 06:42:08 -07:00
Ladislau Szomoru
c05b49710b SCM - Add proposal for inputBox action button (#196121)
* SCM - Add proposal for inputBox action button

* More reliable fix for overlapping
2023-10-21 09:51:24 +02:00
Ladislau Szomoru
5ffa9573af Git - remove extra character from the log message (#192622) 2023-09-08 16:25:12 -04:00
Ladislau Szomoru
a4e1870896 Git - fix stage/unstage selected ranges in nested git repositories (#191987)
* Git - fix stage/unstage selected ranges in nested git repositories

* Remove the submodule check as it is being covered by the repository check

* Pull request feedback
2023-09-06 14:35:55 +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
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