Commit Graph

2824 Commits

Author SHA1 Message Date
Ladislau Szomoru
60eb399578 Git - improve ref sorting in the repository explorer (#276889) 2025-11-12 11:03:42 +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
89fd28901e Git - only dispose worktree repository after it has been deleted (#276207) 2025-11-07 13:55:40 -08:00
Ladislau Szomoru
cc5d8fd3ee Git - do not show warning dialog when you do a non-interactive worktree migration (#276177)
* Git - do not show warning dialog when you do a non-interactive worktree migration

* Fix condition 🤦‍♂️
2025-11-07 12:31:18 -08: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
Ladislau Szomoru
7bdbccd240 Git - improve logic to pick a worktree to migrate changes from (#276048) 2025-11-07 11:38:52 +00:00
Dmitriy Vasyura
90281f7d43 Revert "Git - adopt new QuickInputButton location (#275071)" (#275465)
This reverts commit e092054c98.
2025-11-05 07:24:33 +01:00
Ladislau Szomoru
88236d6c24 SCM - fix repository artifact actions (#275324) 2025-11-04 13:40:46 -08:00
Ladislau Szomoru
50212ce787 Git - checked out tag should use the target icon (#275313)
git - checked out tag should use the target icon
2025-11-04 12:44:22 -08:00
Ladislau Szomoru
4e72c81a4e Git - fix editor tab labels and notifications when comparing references (#275292) 2025-11-04 20:17:45 +00:00
Alex Ross
d42b85fdc6 Support .git in repo cache and improve language (#275075)
* Support .git in repo cache and improve language
Done while testing https://github.com/microsoft/vscode/issues/274930

* Tests
2025-11-04 16:48:24 +01:00
Ladislau Szomoru
e092054c98 Git - adopt new QuickInputButton location (#275071) 2025-11-04 10:49:32 +00:00
Ladislau Szomoru
e3babad841 SCM - use unicode codes in labels (#274786) 2025-11-03 16:02:24 +00:00
Ladislau Szomoru
1690fee7d8 Git - improve compare reference notification (#274776)
SCM - improve compare reference notification
2025-11-03 15:13:39 +00:00
Abinash Karmakar
351475e460 fix: include original URI in resource filtering for multi-file diff e… (#271512)
fix: include original URI in resource filtering for multi-file diff editor (#271506)
2025-11-02 18:38:10 +00:00
Alex Ross
a2a6d74b9f Allow git clone command to also always use the cache (#274354)
* Allow git clone command to also always use the cache

* Fix redundant checks
2025-11-02 19:27:13 +01:00
Benjamin Pasero
16b9d1ba2a Git - Missing action to "Open File" from a staged new file (fix #249963) (#274182) 2025-11-02 19:21:45 +01:00
Ladislau Szomoru
d219d2999a Git - adjust warning message and actions (#274508) 2025-11-01 14:57:40 +00:00
Ladislau Szomoru
69e17b67f1 Git - add more commands to repositories view (#274484)
* Git - add actions to delete branch/tag

* Fix rebase action label

* Git - add more commands
2025-11-01 13:27:56 +01:00
Ladislau Szomoru
c0755c9484 Git - add actions to merge/rebase to repositories view (#274480) 2025-11-01 08:08:31 +00:00
Ladislau Szomoru
6c86512615 Git - use different icon for current branch + code cleanup (#274479) 2025-11-01 07:56:16 +00:00
Ladislau Szomoru
edf5868b02 SCM - more improvements to the repositories view (#274438)
* SCM - tweak artifact folder compression

* SCM - fixed more commands and layout

* SCM - more compression changes
2025-10-31 21:49:50 +00:00
Osvaldo Ortega
444b1cb403 Command to create worktrees with defaults (#268398)
* Command to create worktrees with defaults

* Update extensions/git/src/commands.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 11:39:12 -07:00
Ladislau Szomoru
7d4efa76db Git - standardize artifact description (#274367) 2025-10-31 15:39:42 +00:00
Ladislau Szomoru
e82ab3b366 SCM - add more commands to the repositories view (#274352)
* SCM - artifact tree improvements

* Add support for compression

* Add more commands
2025-10-31 15:44:15 +01:00
Ladislau Szomoru
881d3b8d62 Git - add create branch/tag action to repository explorer (#274307) 2025-10-31 11:58:50 +01:00
Ladislau Szomoru
cf34c7541c Git - wire up event for changing artifact groups (#274261)
* Git - wire up event for changing artifact groups

* Remove code that was commented out

* Swap code order

* Dispose listener

* Dispose event emitter as well
2025-10-31 08:24:31 +00:00
Ladislau Szomoru
105d8dd583 SCM - 💄some follow-up cleanup (#274193) 2025-10-30 13:55:23 -07:00
Ladislau Szomoru
9e8f5336da SCM - plumbing to support artifacts in the repositories view (#274173)
* WIP - ported changes from the old branch

* More work getting the changes ready

* Tweak things

* Git - wire-up checkout command
2025-10-30 12:37:22 -07:00
Ladislau Szomoru
f46638bfc7 Git - improve reference comparison commands (#274143)
* Git - improve compare commands

* Remove an extra check

* Fix bad manual merge
2025-10-30 17:00:30 +00:00
Ladislau Szomoru
d2c16dbf3e Git - use git diff-tree only for the first commit in the repository (#274107) 2025-10-30 17:53:37 +01:00
Ladislau Szomoru
16f58dd3ac SCM - add incoming/outgoing nodes to graph (#274059) 2025-10-30 17:04:24 +01:00
Ladislau Szomoru
f8e2f71c2f Git - move compare with merge base action into the context menu (#273981) 2025-10-29 16:14:03 +00:00
Ladislau Szomoru
20ded57d68 Git - use diff instead of diff-tree for showing commit data and comparing branches (#273969) 2025-10-29 16:28:46 +01:00
Ladislau Szomoru
8fb6a9c257 Git - improve graph/timeline/blame hover rendering (#273932) 2025-10-29 08:14:58 -04:00
Ladislau Szomoru
5840155ace Git - add commands to easily compare a local branch with upstream and merge base (#273839) 2025-10-28 17:22:06 -07:00
Ladislau Szomoru
4c3d8cf64a Git - adopt the new icons for the statusbar command (#273789)
* Git - adopt the new icons

* Attempt to fix tests
2025-10-28 19:37:40 +00:00
Ladislau Szomoru
90627f0950 Git - unify compare commands for the graph (#273771)
* Git - unify compare commands for the graph

* Update placeholder

* More changes
2025-10-28 16:00:51 +00:00
Ladislau Szomoru
23894eb833 Git - fix theme icon (#273767) 2025-10-28 15:23:22 +00:00
Ladislau Szomoru
294b045d4b Git - fix bug with comparing with a remote branch (#273705)
* Git - fix bug with comparing with a remote branch

* Update placeholder
2025-10-28 11:10:07 +01:00
Ladislau Szomoru
124710c5ff Git - add command to compare a tag (#273694)
* Git - update command label

* Git - add command to compare a tag
2025-10-28 06:43:12 +00:00
Ladislau Szomoru
3fff78b18a Graph - add command to compare references (#273635) 2025-10-27 15:37:10 -07:00
Ladislau Szomoru
24dc95ef64 Git - add telemetry to track down stale diagnostics (#273565) 2025-10-27 07:42:35 -07:00
Ladislau Szomoru
aaa334f22a SCM - introduce new menu for the repositories view (#272946) 2025-10-23 20:40:45 +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
Alex Ross
f93044c015 Maintain a cache of repo remotes that we know about (#271652)
* Maintain a cache of repo remotes that we know about
Part of #271101

* Save workspace file or folder instead of repo root path

* PR feedback
- Rename to repositoryCache
- Remove timestamp
- Move logic into repo cache
- Fix tests

* Name changes

* Actually delete

* Fix change that got lost in the rename
2025-10-20 18:16:04 +00:00
Ladislau Szomoru
bc01289e90 Git - limit the timeline/blame/graph hover commands (#271530) 2025-10-15 15:09:02 +00:00