Commit Graph

2967 Commits

Author SHA1 Message Date
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
Henning Dieterichs
090fd2c772 Implements first iteration of multi diff editors.
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-11-07 16:51:38 +01:00
Logan Ramos
9bea1fc96a Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Ladislau Szomoru
56088b01d9 Git - fix issue related to opening parent repositories (#196822) 2023-10-27 06:42:08 -07:00
Ladislau Szomoru
9d2ff86b00 Git - Track attempt count in the test commit message provider (#196348) 2023-10-25 10:15:45 +02:00
Tatsunori Uchino
2683aa01ac Add support for --force-if-includes to force push more safely (#187932)
* Add support for `--force-if-includes` to force push

* Change force push failed error message

* Separate force push (no with lease) failed error message

* Switch to `"markdownDescription"`

* Add Git version requirement for config description

* Improve error message when safer force push is rejected

* Eliminate the option's effect if Git is too old

* Minor improvements to community contribution

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-10-23 17:47:46 +02:00
Ladislau Szomoru
4cd1f6ce84 Git - automatically wrap generated commit message (#196268)
* Git - automatically wrap generated commit messages

* Handle edge cases when wrapping the commit message
2023-10-23 15:22:45 +02:00
Ulugbek Abdullaev
c6dcdc753b git: print more info when relative path not found 2023-10-23 13:57:39 +02:00
Ulugbek Abdullaev
d4586b43cd git: GitError captures stacktrace 2023-10-23 13:57:39 +02:00
Ladislau Szomoru
67df0670ba Git - set action button command argument (#196216) 2023-10-23 08:19:52 +02:00
Ladislau Szomoru
b8c3c75f5d Git - Update CommitMessageProvider git extension API (#196170)
Update CommitMessageProvider git extension API
2023-10-21 09:15:39 -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
fdb4d48ff1 Git - cleanup OperationKind enum (#195327) 2023-10-10 22:49:10 -07:00
Greg Van Liew
ef0871b7bb Edits to setting descriptions (#195007) 2023-10-06 10:04:37 -07:00
Ladislau Szomoru
d4fb31c56d Git - fix relativePath() edge case (#194653) 2023-10-05 15:37:52 +02:00
Ladislau Szomoru
9434d9437a Git - do not show origin/HEAD in the checkout quick pick. This item will only be shown when checking out detached. (#194592) 2023-10-02 12:38:10 +02:00
Ladislau Szomoru
707e061b3a Git - use commit id for the left-hand editor (#194302)
* Git - use commit id for the left-hand editor

* Remove console.log
2023-09-27 15:24:35 +01:00
Ladislau Szomoru
3a0b6baa61 Git - provide correct editor title for resources under the "All Changes" node (#194273) 2023-09-27 12:05:58 +02:00
Ladislau Szomoru
8e80e950a4 Git - improve heuristics for determining branch base (#193986)
* Add getBranchBaseFromReflog

* Read/store branch merge base in the git config

* Add getBranchBase() extension api
2023-09-25 15:12:10 +01:00
Ladislau Szomoru
33ba908ab4 Git - refactor getting base of a branch (#193973) 2023-09-25 14:41:47 +02:00
Ladislau Szomoru
419e445f8d Git - fix regular expression for fully qualified ref names (#193953) 2023-09-25 11:25:51 +02:00
Ladislau Szomoru
54fc6334f5 Git - fix file decoration for history item changes (#193755) 2023-09-22 07:27:26 +01:00
Logan Ramos
cc98e55794 Fix slow telemetry module (#193607) 2023-09-20 20:14:12 +01:00
Ladislau Szomoru
943d5b2c5c SCM - Add file decorations to history item changes (#193576)
SCM - Add file decorations to history items
2023-09-20 16:11:15 +01:00
Ladislau Szomoru
ceda6cc485 SCM - set of fixes for the SCM Sync View (#193567) 2023-09-20 13:57:14 +01:00
Ladislau Szomoru
3e31b71648 SCM - more cleanup of the SCMHistoryProvider API (#193509) 2023-09-19 21:00:13 +02:00
Ladislau Szomoru
1545aeab06 SCM - Initial implementation of the Sync view (#193440) 2023-09-19 15:58:22 +02:00
Joyce Er
bb99b7452a fix: render setting reference links in settings UI (#192628) 2023-09-08 23:21:31 +02:00
Ladislau Szomoru
5ffa9573af Git - remove extra character from the log message (#192622) 2023-09-08 16:25:12 -04:00
Ladislau Szomoru
3788d799d2 Git - improve logging for git detection (#192297) 2023-09-06 07:30:59 -07: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
b9e4141833 Revert "Remove superfluous arg in git smoke.test.ts (#173194)" (#192161)
This reverts commit 9dd556a9e0.
2023-09-04 20:43:33 +02:00
Ladislau Szomoru
4a3ed95527 Git - clarify git extension API usage (#192139)
* Git - clarify git extension API usage

* Fixed white space
2023-09-04 15:40:56 +02:00
justanotheranonymoususer
9dd556a9e0 Remove superfluous arg in git smoke.test.ts (#173194) 2023-09-04 14:44:03 +02:00