Commit graph

2300 commits

Author SHA1 Message Date
Ladislau Szomoru 322931b0fc
Git - Only show "All Changes" node if there is more than one incoming/outgoing commit (#202021) 2024-01-08 17:45:44 +01:00
Ladislau Szomoru 51e490e8a2
Git - 💄 add historyItemParentId to provideHistoryItemChanges (#201991) 2024-01-08 14:00:57 +01:00
Ladislau Szomoru 03e191825d
Git - fix context menu order (#201986) 2024-01-08 13:02:13 +01:00
Ladislau Szomoru f8616b9a2b
Git - rename "Open Stash" to "Preview Stash" (#201973)
* Git - rename "Open Stash" to "Preview Stash"

* Add Preview Stash command to the "..." menu
2024-01-08 10:59:49 +01:00
Ladislau Szomoru cfebdd863a
Git - add open stash command (#201970)
* Initial implementation

* Add button to quick pick

* Improve stash picker

* Remove quick pick buttons
2024-01-08 09:48:51 +01:00
Ladislau Szomoru bff3ef7651
Git - improve code that gets commit count (#201907) 2024-01-05 12:55:05 -08:00
João Moreno e2eb6c042b
use sha256 in git (#201781) 2024-01-04 12:02:02 +01:00
Ladislau Szomoru 860d67064a
Git - refactor ref pickers (#201411)
* Refactored quick picks

* Another set of refactoring

* Moved over the remaining classes

* git.checkoutType setting should only be used by the Checkout quick pick

* Introduce RefProcessor and cleanup code

* Introduced multiple processor types

* Another round of refactoring
2023-12-22 22:59:54 +01:00
Ladislau Szomoru b21537c2ef
Git - enable commit signing using SSH key (#201298) 2023-12-20 14:14:39 +01:00
Ladislau Szomoru 9098f756e8
Git - add missing error handler (#201160) 2023-12-18 14:43:44 -08:00
Ladislau Szomoru 536dcced4e
Git - disable wrapping for git-commit language (#201135) 2023-12-18 17:11:08 +01:00
Ladislau Szomoru 4061a9a5e7
Git - log branch name in case the branch cannot be found (#201117) 2023-12-18 13:15:48 +01:00
Ladislau Szomoru 279872bd96
Git - improve git-commit language settings (#201091) 2023-12-17 23:43:05 +01:00
Ladislau Szomoru baab9bde4d
Git - timeline provider should handle repository with no commits (#200962) 2023-12-15 15:17:38 +01:00
Ladislau Szomoru e8e04769ec
Git - explicitly open repository after initialized (#200957) 2023-12-15 14:53:18 +01:00
Ladislau Szomoru 81546fb355
Git - only add --diff-merges if flag is supported (#200954) 2023-12-15 14:39:46 +01:00
Ladislau Szomoru 371a1579f2
Git - make close other repositories command available in the command palette (#200925) 2023-12-15 08:34:24 +01:00
Ladislau Szomoru 81207cddf5
Git - add command to close other repositories (#200893) 2023-12-14 23:36:20 +01:00
Malix 31f8f0dd17
Remove unused import in extensions/git/src/api/git.d.ts (#200797)
Remove unused import
2023-12-14 09:01:39 +00:00
Ladislau Szomoru b0b6913211
Git - gif config should not throw if key does not exist (#200358) 2023-12-08 15:10:52 +01:00
Francis Chartrand bef295a70b
timeline: use follow option so timeline follow file beyond renames (#187174)
feat(git): use follow option so timeline follow file beyond renames

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-12-08 13:03:59 +00:00
Roberto Huertas 62a957135b
feat(stash): return the stash result (#177732)
re #177726
2023-12-08 12:29:19 +01:00
Ladislau Szomoru fe055af0a4
Git - improve branch picker when merging (#200331)
* Git - improve branch picker when merging

* 💄
2023-12-08 12:26:40 +01:00
Ladislau Szomoru 1466cbfcdf
SCM - delete scmInputBoxActionButton proposal (#200012) 2023-12-05 10:52:01 +01:00
Ladislau Szomoru c5874782c5
SCM - delete scmInputBoxValueProvider proposal (#199778) 2023-12-01 08:54:59 -08:00
Ladislau Szomoru 18b2c92451
Git - remove history provider action button (#199764)
* Git - remove history provider action button

* Remove debug messages
2023-12-01 16:10:44 +01:00
Ladislau Szomoru c6b48c364d
Git - remove references of scm.experimental.showSyncView from the Commit action button (#199616) 2023-11-30 01:21:33 +01:00
Henning Dieterichs 2ec8b37bf3
Adopts diff-multiple icon 2023-11-29 10:43:12 +01:00
Ladislau Szomoru 37425a6fbf
Git - do not show incoming/outgoing for tags, detached (#199476) 2023-11-28 17:46:31 -08:00
Ladislau Szomoru aebfa4798c
Git - Commit action button fix (#199475) 2023-11-29 02:16:59 +01:00
Ladislau Szomoru d689bb7950
SCM - handle empty commit in diff statistics badge (#199438)
* SCM - handle empty commit in diff statistics badge

* Undefined shortStat handled by the history provider
2023-11-28 15:41:20 -08:00
Henning Dieterichs b5f1966e92
Merge pull request #199007 from microsoft/hediet/b/like-wolverine
Adopt config.multiDiffEditor.experimental.enabled
2023-11-27 12:31:58 +01:00
Ladislau Szomoru abd2f00bcc
SCM - implement scm/inputBox menu (#199147)
* SCM - fix regression related to the scm input box action button

* Single action working as expected

* Saving my work

* Fix enablement when there is only one action

* More polish when there are multiple actions

* WIP - Select default action

* Add proposal

* Another refactoring

* Update setting type

* Remove setting, store last executed command

* Revert code that was used for testing

* Fix compilation errors

* Remove test commands
2023-11-27 12:17:26 +01:00
Ladislau Szomoru 10e672c687
Revert "Git - deprecate registerCommitMessageProvider (#198953)" (#199022)
This reverts commit 93ab1bfe22.
2023-11-24 14:12:45 +01:00
Ladislau Szomoru 79f8189bb4
Git - update git.inputValidation default value (#199019) 2023-11-24 12:32:54 +01:00
Henning Dieterichs 95d76848a1
Adopt config.multiDiffEditor.experimental.enabled 2023-11-24 10:49:17 +01:00
Ladislau Szomoru ed6dc7b6b3
Git - fix command titles (#198996) 2023-11-24 09:41:44 +01:00
Ladislau Szomoru 93ab1bfe22
Git - deprecate registerCommitMessageProvider (#198953) 2023-11-23 17:42:17 +01:00
Ladislau Szomoru a776d5fe0a
SCM - input box value provider rendering (#198923)
* Initial implementation

* Remove debug messages

* Implementation using a custom ActionViewItem

* Switched to using a custom action along with the custom action view item

* Switch to using arrays

* Refactored code (single provider is working)

* Add ActionRunner to options

* WIP - saving my work

* Refactor things to support one provider

* Add setting to enable/disable input action button

* Add sourceControlId to the proposed API

* Fix issue related to enablement

* Remove code that is not in scope

* Have the old action bar work with the setting

* Remove code that was commented out

* Add extension API changes

* Update extensions/git/src/commitMessageProvider.ts

Co-authored-by: João Moreno <joao.moreno@microsoft.com>

* Fix compilation errors

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-11-23 16:39:53 +01:00
Henning Dieterichs 9e69692508 Improves editor title 2023-11-21 15:09:29 +01:00
Henning Dieterichs 4328415767 Improves open multi diff editor icon 2023-11-21 14:59:01 +01:00
Ladislau Szomoru 6aa249db00
Git - fix incorrect check (#198396) 2023-11-16 10:45:13 +01:00
Ladislau Szomoru e0b70e58b3
SCM - add caching layer to incoming/outgoing tree nodes (#198306)
* Upstream commit + improve onDidChangeCurrentHistoryItemGroup

* Refactor expanding a history item group

* Wire up caching

* Invoking the git.refresh command invalidates the cache

* Clean up cache data structure
2023-11-15 15:09:18 +01:00
Ladislau Szomoru ed30010d3f
Git - better error handling for git merge-base (#198208) 2023-11-14 14:51:17 +01:00
Ladislau Szomoru e447d54e1e
SCM - Add short state badge for history items (#198126)
* Git - Extract parsing of git diff short stat

* Add shortStat badge for commits

* Git - specify diff-merges for merge commits

* Add tests
2023-11-13 16:49:28 +01:00
Ladislau Szomoru d5b3ed3f68
Git - update open commit command icon (#198084) 2023-11-13 09:37:46 +01:00
Ladislau Szomoru 2095b6f5a3
Git - fix readOnly for the Config operation (#197918) 2023-11-10 15:05:39 +01:00
Ladislau Szomoru 64783a4eb9
Git - incoming/outgoing polish (#197877)
* Git - refactor diffBetweenShortStat to return an object with files, insertions, and deletions

* Add statistics label tooltip
2023-11-10 02:40:58 +01:00
Ladislau Szomoru 8de9ba22b2
SCM - add statistics badge for incoming/outgoing (#197876)
* Initial implementation of the stats pill

* Parse git output and propagate the statistics
2023-11-09 18:05:34 -07:00
Ladislau Szomoru acff02431f
SCM - Add Incoming/Outgoing information into the Source Control view (#197771) 2023-11-09 20:18:09 +01:00