Commit Graph

2223 Commits

Author SHA1 Message Date
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 973a531c70 Git - add logging for askpass (#250109) 2025-05-30 09:17:20 -04:00
Ladislau Szomoru e8abd52cf7 Git - provideOriginalResource() should handle symbolic links (#249920) 2025-05-27 11:28:57 -07:00
Ladislau Szomoru 963bf2e2ad Git - handle the scenarion in which Recycle Bin/Trash are not supported (#249890) 2025-05-27 16:56:31 +02:00
Ladislau Szomoru 28af0e9aeb Git - include short commit hash in the ref picker details (#249874) 2025-05-27 11:51:40 +02:00
Ladislau Szomoru 804f18c995 Git - ref pickers should use commitShortHashLength setting (#249869) 2025-05-27 02:09:28 -07: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 28b55a766c SCM - add cancellation token to history provider (#249808) 2025-05-26 03:26:40 -07:00
Ladislau Szomoru c1ed063624 Git - sequantialize calls to git config (#249709) 2025-05-24 07:22:35 -07:00
Jean Pierre 36ce9d0b7c Fix timeline git requests are not cancelled when switching editors too fast (#244335)
* Cancel git log commands from timeline

* Don't delete timeline requests when cancelled as they already got deleted

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-05-23 17:30:56 +00:00
Ladislau Szomoru 84fb005bbd Git - do not add ellipsis to history item subject/timeline item label (#249086) 2025-05-16 02:54:40 -07: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 d667ffe026 Git - revert some changes that are not needed (#248215) 2025-05-06 19:30:36 +00:00
Ladislau Szomoru 9e6c15d640 Git - add support for unstaging a subset of lines (#247853) 2025-04-30 16:50:49 +02:00
Ladislau Szomoru 6cdea9ec05 Git - fallback to relative() when computing relative paths (#247848) 2025-04-30 15:29:15 +02:00
Ladislau Szomoru bf0fb34df4 Git - fix unstage selected ranges command (#247770) 2025-04-29 21:02:30 +02:00
Ladislau Szomoru 4231848899 Git - quick diff decoration label casing (#247717) 2025-04-29 11:06:23 +02:00
Alex Weininger 02378633c6 fix: handle cancellation errors inside edit session identity provider (#247450) 2025-04-27 19:45:48 -07:00
Tuan Tran Van 30d16b20a1 Replace single line break with double line break for commit description in git blame hover popup (#245779)
* Replace single line break with double line break for commit description in git blame hover popup

Fix issue #245773

* Remove unnecessary pattern `\n\n` when handling commit message

* Remove non-matching group, and fix the same issue for the gragh hover as well

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-04-23 21:03:48 +00:00
Ladislau Szomoru 7452464515 SCM - add secondary quick diff provider (#246707)
* WIP - initial implementation

* Add stagedQuickDiffProvider API

* Reduce the usage of `isSCM`

* Make unstage feel snappier

* Deduplicate diffs between primary and secondary

* Fix unstage selected ranges to work from the editor

* WIP - saving my work

* Fixed deduplication and commands

* Add pattern colors

* Rework the colors, and fix deleted glyph

* Got unstage commands working

* Update provider name

* Some improvements

* Cleaned up CSS

* Tweak decoration colors

* Update proposed API naming

* Contributed decorations will use the primary colors for the time being

* More cleanup
2025-04-16 12:52:36 +02:00
Joyce Er 516f9c731a fix: commit changes in empty git repo before Continue Working On (#246637) 2025-04-15 17:49:08 +02:00
hj 541ae30e0f git: make Letter/Text/Color semantically consistency (#245889) 2025-04-15 08:30:51 +00:00
Joyce Er b7beb62a30 fix: handle Continue On in unpublished git repo with no working changes (#246561)
* fix: handle Continue On in unpublished git repo with no working changes

* fix: register leaked disposable

* fix: increase timeout
2025-04-15 02:34:17 +02:00
Ladislau Szomoru d2fe294a96 Git - fix git blame status bar item (#246537) 2025-04-14 14:03:54 -07:00
Ladislau Szomoru bdc1a35666 Git - cache editor decoration/status bar item templates (#246301) 2025-04-11 11:21:39 +02:00
Ladislau Szomoru 88c1f24373 Git - reduce the number of getConfiguration() calls (#246295)
* Git - reduce the number of `getConfiguration()` calls

* Missed one
2025-04-11 10:12:35 +02:00
Ladislau Szomoru 41ecdd700c Git - add more logging to provideOriginalResource() (#246242) 2025-04-10 14:20:04 -07:00
Benjamin Pasero f0ee501c7f API: Finalise text document encoding (fix #241449) (#246016)
* API: Finalise text document encoding (fix #241449)

* address feedback
2025-04-10 18:28:21 +00:00
Ladislau Szomoru 7160755930 Git - 💄 adopt truncate() in various places (#246219) 2025-04-10 18:01:28 +02:00
Ladislau Szomoru 7a274ae1cd Git - improve git commit diagnostics hook (#245519) 2025-04-03 17:21:47 +02:00
Ladislau Szomoru 03b5a51341 Git - fix commit hook setting name (#245307) 2025-04-02 09:16:21 +02:00
batsev 28b51a4dda Git - validate branch name before creation (#245029)
* Git - validate branch name before creation

* Git - tweak validation message

---------

Co-authored-by: Бацев Никита Александрович <NABatsev@sberbank.ru>
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-04-01 18:30:32 +00:00
Ladislau Szomoru 82839a3b65 Git - improvements to relative path calculation (#245001)
Git - relative path using both the repository root and repository real root
2025-03-28 20:15:52 +01:00
Ladislau Szomoru 35a79740ae Git - integration tests should use workspace path and not the real path to avoid random failures (#244959) 2025-03-28 12:03:05 +01:00
Ladislau Szomoru d9909effe9 Git - 💄 log repository real path as well (#244954) 2025-03-28 11:19:43 +01:00
Ladislau Szomoru e9eea024f1 Git - git blame/timeline hover should not support HTML (#244729)
* Git - git blame hover should not support HTML

* Also fix timeline hover
2025-03-26 11:25:59 +00:00
Ladislau Szomoru 94f0f50f9e Git - try a different separator in the ref picker (#244340) 2025-03-22 15:56:29 -07:00
Ladislau Szomoru 3ea8791964 Git - fix issue with losing merge state when discarding untracked file (#244247) 2025-03-21 14:23:16 +01:00
Ladislau Szomoru f53a1c04d3 Git - refactor code to exclude refs from pickers (#244104) 2025-03-20 12:35:49 +01:00
Ladislau Szomoru 53b4d4e701 Git - include ahead/behind information in all branch pickers (#244036) 2025-03-19 12:47:31 -07:00
Ladislau Szomoru f00d1a0c44 Git - merge branch picker should not include the current branch (#244008) 2025-03-19 16:31:33 +01: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 9bed6c5a5f Git - use committerDate in the ref picker (#243974) 2025-03-19 11:22:05 +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 46a9b7e644 Git - remove another usage of iconv (#243902) 2025-03-18 13:35:33 -07:00
Ladislau Szomoru 76b21c4817 Git - cleanup ref parsing (#243899) 2025-03-18 20:46:11 +01:00
Ladislau Szomoru 9c52844db0 Git - disable matchOnDetail for the checkout picker (#243862) 2025-03-18 15:35:21 +01:00
Ladislau Szomoru f9d810d1fd Git - remove the usage of jschardet and iconv-lite-umd (#243843) 2025-03-18 09:53:58 +00: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 7c46bee91e Git - handle both absolute and relative paths (#243571) 2025-03-14 17:25:33 +01:00