Ladislau Szomoru
1722624c4a
Git - expose rebase() though the extension API ( #299181 )
2026-03-04 12:17:09 +00:00
Ladislau Szomoru
fb87d94563
Git - expose random name generation for branches ( #298938 )
2026-03-03 12:45:46 +00:00
Matt Bierner
a453d99821
Port git extension to use esbuild
...
Fixes #296355
2026-02-26 14:10:15 -08:00
Johannes Rieken
4f5d8f3946
Remove code-no-native-private ESLint rule ( #295535 )
2026-02-16 10:03:47 +01:00
Ladislau Szomoru
efb6eeee9d
Git - openRepository extension API should always open the repository without any prompts ( #293681 )
2026-02-07 20:37:03 +01:00
Matt Bierner
cca17c1b7f
Use ts-go for building our extensions
...
Also reverts to use experimental decorators due to stage 3 decorators not being supported yet https://github.com/microsoft/typescript-go/issues/2354
The skipLib check is needed to work around some jsdom types issues
2026-02-02 20:06:00 -08:00
Ladislau Szomoru
bae323865a
Git - add the ability to disable commit signing ( #291822 )
2026-01-30 11:45:00 -08:00
Ladislau Szomoru
dab807f670
Git - expose more options to apply a patch ( #291309 )
...
* Git - expose more options to apply a patch
* 💄 Reorder options
2026-01-28 08:29:50 -08:00
Ladislau Szomoru
a067b22e62
Git - expose recent repository information ( #289837 )
2026-01-23 08:41:06 +00:00
Osvaldo Ortega
cb1c94e345
Adding kind property to repository
2026-01-22 14:37:48 -08:00
Ladislau Szomoru
650bc4f9ae
Git - expose repository kind through the git extension API ( #287737 )
2026-01-14 10:51:47 +00:00
Ladislau Szomoru
f5e25ad4ca
Git - show main worktree under the Worktrees node ( #287564 )
2026-01-13 15:38:32 +00:00
Ladislau Szomoru
d0576dab05
Git - add extension API to get a patch for a commit range ( #286159 )
...
* Git - add extension API to get a patch for a commit range
* Turns out `git diff` does not support the `--root` flag
2026-01-06 15:18:53 +00:00
Ladislau Szomoru
43081d3bac
Git - expose list of worktrees through the git extension API ( #285087 )
...
* Git - expose list of worktrees through the git extension API
* Fix compilation error
* Add property to `RepositoryState`
2025-12-26 02:04:01 -08:00
Ladislau Szomoru
b5397ced5d
Git - add new method to the interface ( #284471 )
2025-12-19 07:53:53 -08:00
Ladislau Szomoru
c95739960f
Git - get the diff and num stats for a commit ( #284403 )
2025-12-19 10:18:29 +00:00
Ladislau Szomoru
a6932a2c79
Git - expose createStash() in the git extension API ( #284226 )
...
* Git - expose `createStash()` in the git extension API
* Add method to the interface
2025-12-18 10:59:23 +00:00
Ladislau Szomoru
150682a14a
Git - add worktrees node to the Repositories view ( #284224 )
...
* Worktree node - initial implementation
* Wire up various commands
2025-12-18 10:48:41 +00:00
Ladislau Szomoru
13a7952cd6
SCM - fix tag sorting in the Repositories view ( #280929 )
2025-12-03 12:07:00 +00:00
Ladislau Szomoru
7c999f6f62
Git - refactor migrate changes functionality ( #278426 )
...
* Git - rework migrate changes
* Add extension API
* Revert some of the options
* Remove staged option
* More cleanup
* More command cleanup
2025-11-19 12:55:43 -08:00
Ladislau Szomoru
5a1c4e6ca5
Git - refactor create/delete worktree and expose extension API ( #278107 )
...
* Git - refactor create/delete worktree and expose extension API
* Pull request feedback
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-18 15:37:56 +00:00
Ladislau Szomoru
2b52b93770
Git - enable ESLint rule for git extensions ( #277156 )
...
* Initial commit with all exceptions
* First pass of fixing
* Add ignored files explicitly
2025-11-13 15:35:01 +00:00
Ladislau Szomoru
1644a34e71
Git - fix extension API method signature ( #276931 )
2025-11-12 15:17:35 +00:00
Ladislau Szomoru
a18659d8e1
Git - add extension API to get short stats for staged changes ( #276308 )
2025-11-08 21:43:43 +01:00
Ladislau Szomoru
e36e94ac8b
Git - add the new method into the interface ( #276152 )
2025-11-07 18:36:53 +00:00
Ladislau Szomoru
55e72a1f5e
Git - basic extension API to compute working tree short stats ( #276134 )
...
* Git - basic extension API to compute working tree short stats
* Fix call
* Fix function
2025-11-07 17:47:07 +00:00
Alex Ross
edf4ea5879
Simplify git clone API ( #272912 )
...
- Don't allow to skip the cache
- Only have "none" post commit action
- Consolidate post commit logic
- I ended up keeping the `Uri | null` return type for the `clone` API. It's just too useful, and there's no reason why we couldn't pass it back if the user didn't decide to open the clone and reload the window.
2025-10-23 16:55:21 +02:00
Alex Ross
3cc447e709
Improve layering for git model ( #272857 )
...
* Improve layering for git model
- Git clone doesn't belong in the model, removed it
- All the extra repo picking didn't seem to fit into `Git` though, as that is really about git operations
- Added a `CloneUtils` namespace for all the clone stuff to live.
* Update extensions/git/src/clone.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* CloneManager class
* public/private
2025-10-23 16:04:35 +02:00
Alex Ross
dda6e09f62
Update git clone to use new repo cache ( #272276 )
2025-10-22 21:06:20 +02:00
Matt Bierner
1908c48d3c
Update decorator signature
2025-08-06 14:52:15 -07:00
Matt Bierner
3e7a233c64
Revert git api change
2025-08-06 14:38:32 -07:00
Matt Bierner
d8c9852fe9
Don't use experimental decorators in extensions
...
Seeing if we can compile our extensions using TS native which doesn't support these. The usage is so low that I think we can just remove them
2025-08-06 13:24:19 -07:00
Christy 😺
1297e26760
Handle worktree errors ( #258867 )
...
* throw err when choosing already checked out branch
* fix two separate worktree error handling
* Validate branch as soon as it is selected
* Working path validation upfront
* normalize paths
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com >
2025-07-31 16:44:24 +00:00
Christy 😺
2b37aecab3
Error handling of create worktree and fix create worktree... command from command palette ( #257172 )
...
* esc when creating worktree name cancels create operation
* Find main repo for createworktree command palette to prevent repo picker
* error handling of creating worktree
* add back repo picker for create worktree... command
2025-07-22 07:37:50 -07:00
Christy 😺
dd052e8d44
rework deletion flow ( #256415 )
...
* rework deletion flow
* change delete label
* Revise deletion of worktree
* reopen correct repo
* clean up
* Refactor deleteWorkspace command
* Do not show deleteWorktree command in the command palette
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com >
2025-07-18 07:06:08 -07:00
Ladislau Szomoru
6e189da432
Git - add extension API to get the repository root ( #250044 )
...
* Git - add extension API to get the repository root
* Pull request feedback
2025-05-30 18:13:55 +00:00
Ladislau Szomoru
761976573f
SCM - add the ability to search for a history item ( #249819 )
...
* WIP implementation illustrating the problem
* Tweak searching
* Saving my work
* Use the cancellation token
* Adopt delayer
* Remove debug messages
2025-05-26 17:16:06 +02:00
Ladislau Szomoru
daab3ffa1e
SCM - add the capability to attach a history item as chat context ( #249073 )
...
* Saving my work
* Got the variable widget working
* Refactored the variable widget
* Clean up the attachment widget
* Content provider stub
* Add proposed API for chat context
* Add method to get the complete details of a commit
2025-05-16 01:09:12 -07:00
Ladislau Szomoru
2365ea12ec
Git - display ahead/behind information in the checkout picker ( #244003 )
...
* Initial implementation
* Handle scenario where the git version does not support ahead/behind
2025-03-19 16:04:58 +01:00
Ladislau Szomoru
757405278f
Git - do not expose ref commit details to extensions ( #243970 )
2025-03-19 10:49:00 +01:00
Ladislau Szomoru
0a7b6a0f8b
Git - add commit details to ref pickers ( #243582 )
...
* Refactor ref parsing
* Initial implementation of getting the commit details
* Show additional information in the pickers
2025-03-14 10:52:13 -07:00
Ladislau Szomoru
11b2f94022
Git - add missing event to the Repository interface ( #238298 )
2025-01-20 16:17:04 +01:00
Ladislau Szomoru
1600fb4c76
GitHub - avatar resolution improvements ( #238239 )
...
* Add support for size
* Add support for extracting user id from GitHub no-reply email addresses
* Fix git blame email parsing
* Extrat link into function
2025-01-19 16:44:40 +01:00
Ladislau Szomoru
5e399f3069
GitHub - add support for batch avatar query ( #238114 )
2025-01-17 10:56:49 +01:00
Ladislau Szomoru
abecfae1ec
Git - add avatar resolution to git blame editor decoration hover ( #238083 )
...
* Initial implementation
* Add logging
* Improve avatar resolution
2025-01-16 21:33:08 +01:00
Ladislau Szomoru
7610cc1d19
Git - 💄 fix history item details provider name ( #238045 )
2025-01-16 20:25:19 +09:00
Ladislau Szomoru
eaba97f995
Git - extract history item detail provider ( #238041 )
...
* Initial refactor of hover commands
* Delete old code for hover commands
* More refactoring
2025-01-16 11:37:27 +01:00
Ladislau Szomoru
1c10a0e551
Git - remove proposed api typings from git/github extensions ( #237409 )
2025-01-07 17:00:02 +01:00
Ladislau Szomoru
e258958d35
Git - expose unsetConfig through the extension API ( #237393 )
2025-01-07 05:46:07 -08:00
Ladislau Szomoru
f990dfb385
Git - expose env through the extension API ( #236598 )
2024-12-19 16:27:08 +01:00