Commit Graph

2870 Commits

Author SHA1 Message Date
Ladislau Szomoru
c244c79cd4 Git - remove the usages of any (#270179)
* Git - remove the usages of `any`

* Remove debug message
2025-10-07 08:14:52 -04:00
Ladislau Szomoru
bbe85db188 Git - remove usages of any (#270075)
* Git - remove usages of `any`

* 💄 fix check
2025-10-06 18:23:03 +00:00
Ladislau Szomoru
82d335bbbc Git - 💄 consolidate git blame and timeline hover code (#269689)
* Git - 💄 consolidate git blame and timeline hover code

* Git - Delete code that was commented out
2025-10-03 14:12:03 +02:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Ladislau Szomoru
d0cb4a16a5 Git - fix regression related to using path.sep (#269361) 2025-10-01 15:36:11 +00:00
Ladislau Szomoru
597148770d SCM - use subject as the title of the multi-file diff editor (#269347) 2025-10-01 16:55:05 +02:00
Ladislau Szomoru
c6d8b3ab0b Git - only show "Resolve in Merge Editor" editor action when conflict markers are present (#269300) 2025-10-01 11:28:30 +02:00
Ladislau Szomoru
1a72b133fd Git - add context key for merge conflict detection (#268183) 2025-09-24 15:33:01 +00:00
Ladislau Szomoru
b276d35cd6 Git - path comparison should better handle trailing/mixed separators (#267112) 2025-09-17 06:56:24 -07:00
Ladislau Szomoru
a1c9bc01e7 Chat - add support to attach a history item change range to chat (#266022)
* Chat - add ISCMHistoryItemChangeRangeVariableEntry

* Chat - add content provider for ISCMHistoryItemChangeRangeVariableEntry
2025-09-10 14:16:38 +00:00
Ladislau Szomoru
f3d0305959 SCM - add method to resolve a source control history item (#265844) 2025-09-09 15:40:52 +02:00
Christy 😺
8bdbcf0e32 compare with workspace use diff editor instead of merge editor (#265054)
compare with workspace use diff editor instead of merge
2025-09-03 20:33:10 -07:00
Christy 😺
901aa3b820 directly call simplified merge editor for worktree merges (#265024)
directly call own simplified merge editor for worktree merges
2025-09-03 14:45:41 -07:00
Christy 😺
f562c9d3e8 Enable users to view and apply changes from worktree to main repo, per file (#263927)
* enable compare with workspace command

* add context to command

* clean up
2025-09-02 15:28:07 +02:00
Christy 😺
211615d751 Git: Fix worktree checkout default actions (#262414)
* fix worktree checkout default action

* remove comments

* clean up

* fix returns

* change action to 'cancel'
2025-09-01 15:46:09 +02:00
Christy 😺
9c9a837573 clean up dialog and add additional warning (#263908)
* restrict dialog to less than 5 files

* add warning dialog
2025-08-28 15:34:27 -07:00
Christy 😺
79712fb87f migrate worktree changes (#262656)
* migrate worktree changes

* detect LocalChangesOverwritten error before creating & applying stash

* error handle

* make error label clearer

* delete redundant stash length check

* clean up error handling
2025-08-28 07:57:26 -07:00
Ladislau Szomoru
a63acf5e40 Git - accept working set changes when a resource is staged/committed (#262885) 2025-08-25 08:07:51 -07:00
Ladislau Szomoru
845601668b Git - fix commit signing regression (#262479)
* Git - fix commit signing regression

* Extract file name when signing commit
2025-08-20 10:55:44 +00:00
Ladislau Szomoru
792addc4a2 Git - reveal specific file in the multi-file diff editor (#262458)
Git - reveal specific file in the multi-file diff ediotr
2025-08-20 08:46:53 +00:00
Christy 😺
6518fe6990 separate open and delete worktree action (#262175) 2025-08-18 11:30:03 -07:00
Christy 😺
e14542e646 add delete worktree command to context menu (#261711) 2025-08-14 22:07:40 +00:00
Christy 😺
01d448dc0c fix worktree label (#260627)
fix label
2025-08-08 11:00:37 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07: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
2baf1b4cde Runtime fixes for stage 3 decorators 2025-08-06 14:32:43 -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
Matt Bierner
30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Christy 😺
cb1290bcb1 Add create new branch option (create worktree) (#259599)
* add create branch option on current branch

* fix override
2025-08-04 18:28:27 +00:00
Christy 😺
f58a56ea03 Handle worktree errors (#259106)
* fix worktree error handling

* remove print statement

* clean up
2025-07-31 16:38:57 -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
Ladislau Szomoru
35eddf193f Revert "Git - honor detectSubmodules and detectWorktrees settings when opening a workspace from a file" (#259005)
This reverts commit 655258b05e.
2025-07-31 15:26:48 +02:00
Ladislau Szomoru
0b25736ee6 Git - detect worktrees when opening a worktree (#258980) 2025-07-31 10:52:07 +00:00
Ladislau Szomoru
cc28f165ce Git - add the ability to create a worktree from a worktree (#258956) 2025-07-31 11:59:33 +02:00
Christy 😺
20724f79ba fix default path bug related to branch prefix (#258709)
* fix default path bug related to branch prefix

* remove branch prefix first, then get last component

* replace / with -

* clean up
2025-07-30 15:02:35 +00:00
Ladislau Szomoru
4baac87285 Git - polish worktree error handling (#258806) 2025-07-30 14:04:44 +00:00
Ladislau Szomoru
61deced474 Git - fix git.stageFile and git.unstageFile commands so that they work when invoked using a keybinding (#258771) 2025-07-30 12:28:45 +02:00
Christy 😺
860defc712 allow delete worktrees if worktrees are closed (#258696) 2025-07-29 16:21:38 -07:00
Christy 😺
ed9f03c3aa Error handle delete worktree within a worktree (#258297) 2025-07-28 18:43:58 +00:00
Christy 😺
f496271cbd filter only worktrees for open command (#257933) 2025-07-25 18:51:09 -07:00
Ladislau Szomoru
2f09f40b0b Git - honor detectSubmodules and detectWorktrees settings when opening a workspace from a file (#257813) 2025-07-25 13:47:43 +02:00
Christy 😺
afd143299e add Create New branch option in creating worktree (#257701)
* Create new branch option for creating worktrees

* clean up

* resolve esc flows
2025-07-24 17:59:16 +00:00
Christy 😺
2446b91ada revamp create worktree... flow (#257603)
* revamp create worktree... flow

* Cleanup code

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-07-24 18:40:20 +10:00
Ladislau Szomoru
cfc04dc5ba Git - read the HEAD of each worktree (#257532) 2025-07-23 21:37:32 +00:00
Christy 😺
8bef53d4b6 refine default worktree name (#257501) 2025-07-23 13:35:43 -07:00
Christy 😺
b5c5403c61 create new branch in Create Worktree... command (#257370)
* create new branch in Create Worktree... command

* separator between creating branch and existing branch

* refine create branch

* clean up

* code clean up

* Update commands.ts

* resolve hygiene error
2025-07-23 17:41:02 +00:00
Ladislau Szomoru
d421372b3e Git - add the ability to create worktree from remote branches and tags (#257461) 2025-07-23 08:03:48 -07:00
Ladislau Szomoru
ebd5fb15ef Git - fix file path parsing issue in askpass (#257422)
Git - fix file path parsin issue in askpass
2025-07-23 12:33:33 +02:00
Christy 😺
b78acaed0e worktree error handling in creation of worktrees and checking out branches (#257328)
* worktree error handling in creation of worktrees  and checking out branches

* code clean up
2025-07-22 15:10:03 -07:00