Commit Graph

2410 Commits

Author SHA1 Message Date
Ladislau Szomoru
961d092cb5 Git Blame - fix an edge case in which the legacy/advanced algos return different results (#235032) 2024-12-02 21:51:53 +01:00
Ladislau Szomoru
d6927564ee Git - fix action button regression (#231108) (#234967) 2024-12-02 11:13:15 +01:00
Ladislau Szomoru
026a7b195c Git - add action button logging (#234939) 2024-12-01 09:54:53 +00:00
Ladislau Szomoru
5f1b72a054 Git - fix #234800 (#234808)
* Git - fix #234800

* Fix compilation
2024-11-28 08:55:03 +01:00
Ladislau Szomoru
5a2d782244 SCM - set the foundation for history item ref actions (#234784)
* WIP - initial implementation

* Manually fix merge

* Figure out the correct way to pass action arguments

* Fix compilation error
2024-11-27 22:07:16 +00:00
Ladislau Szomoru
2b1cfedf1e Git - more git blame code cleanup (#234739)
* Cleanup code

* Fix multi-file diff editor uri/title
2024-11-27 11:14:46 +01:00
Ladislau Szomoru
389cc76d7e Git - add git blame decoration to diff editors (#234714)
* Initial implementation

* Manually fix the merge

* WIP - saving my work

* Made good progress, saving my work

* Remove debug statement
2024-11-27 06:34:34 +00:00
Ladislau Szomoru
1aa83151f1 Git - only show blame editor decoration in the active editor (#234655) 2024-11-26 12:54:47 +01:00
Ladislau Szomoru
01d08efaa8 Git - extract git blame cache management into a separate class (#234636)
Extract cache management into a separate class
2024-11-26 09:28:49 +01:00
Ladislau Szomoru
220a8c5ee8 Git - refactor blame cache in preparation to more changes (#234604) 2024-11-25 12:28:32 -08:00
Ladislau Szomoru
f08b93ebb9 Git - add template support for editor decoration/status bar item (#234582)
* Refactor property names

* Add template support

* Refactor template variable names

* Manually fix the merge
2024-11-25 16:55:40 +00:00
Ladislau Szomoru
058d2a8f57 Git - fix git blame hover action titles (#234583) 2024-11-25 07:58:54 -08:00
Ladislau Szomoru
213334eb80 Git - add onDidCheckout extension API event (#234483) 2024-11-24 06:21:17 +05:30
Ladislau Szomoru
9088a3747d Git Blame - fix editor decoration hover (#234469) 2024-11-23 15:35:26 +05:30
Ladislau Szomoru
3067477dd7 Git - extract staged resource quick diff provider (#234425)
* Git - extract staged resource quick diff provider

* Fix the build
2024-11-22 15:40:25 +00:00
Ladislau Szomoru
d8d0ddba9c Git Blame - refactor implementation to use an additional dirty diff provider (#234420)
* Initial implementation using a quick diff provider

* Add proposed API to hide a dirty diff decorator
2024-11-22 14:12:32 +00:00
Ladislau Szomoru
d594d2c919 Git Blame - switch to LineRangeMapping and exclusive line ranges (#234409)
Switch to LineRangeMapping and exclusive line ranges
2024-11-22 11:31:37 +01:00
Ladislau Szomoru
927f53de44 Git - tweak git blame computation (#234386)
* Helper methods

* Finished implementing the prototype

* Command handled model creation/disposal

* Cache staged resources diff information
2024-11-21 14:18:49 -08:00
Ladislau Szomoru
157567fd8f Git - add git blame hover (status bar item, editor decoration) (#234338) 2024-11-21 12:21:34 +01:00
Ladislau Szomoru
ee21e638be Git - only show git blame for text documents with the file scheme for now (#234312) 2024-11-20 16:32:56 -08:00
Ladislau Szomoru
4b01d0172d Git - add git blame status bar item command (#234307) 2024-11-21 00:29:54 +01:00
Ladislau Szomoru
b61c0f18d9 Git - add git blame status bar item (#234302)
* Git - improve enabliment of the editor decoration

* Git - add git blame status bar item
2024-11-20 15:08:33 -08:00
Ladislau Szomoru
2ee7ae88b4 Git - improve enabliment of the editor decoration (#234296) 2024-11-20 14:14:16 -08:00
Ladislau Szomoru
2e93ebce77 Git - extract editor decoration (#234292) 2024-11-20 20:30:33 +01:00
Ladislau Szomoru
2b6fb11ade Git - git blame bug fixes (#234273)
* Handle staging/unstaging

* Handle changes included in the git blame output
2024-11-20 15:59:55 +01:00
Ladislau Szomoru
d6c7380f01 Git - switch stage/unstage/revert commands to use the legacy diff information (#234251) 2024-11-20 12:13:51 +01:00
Ladislau Szomoru
975e05cd1c DiffInformation API - cleanup + renames (#234248)
* Refactoring + renaming things

* Renamed TextEditorDiffKind to TextEditorChangeKind
2024-11-20 14:46:04 +05:30
Ladislau Szomoru
6c8a8e24d2 Git - tag setting + better handling of not yet committed changes (#234221) 2024-11-19 23:03:29 +01:00
Ladislau Szomoru
80635b487b Git - experimental git blame editor decoration (#234209)
* Initial implementation

* Add setting, and cache blame information more aggressively
2024-11-19 22:05:19 +01:00
Ladislau Szomoru
a878a1576a Git - handle missingcontext information for commands (#234161) 2024-11-19 10:19:25 +01:00
Ladislau Szomoru
bb9597e63e Git - stage/unstage/revert selected changes commands use diff information (#234140) 2024-11-18 22:45:49 +01:00
Ladislau Szomoru
289056d976 Git Editor - create document link provider (#230389) 2024-10-03 13:58:27 +02:00
Ladislau Szomoru
d085816005 Git - better handle conflict during cherry-pick (#230312) 2024-10-02 16:39:30 +02:00
Johannes
e6f315d2fc eng - use esModuleInterop for extensions 2024-10-01 21:57:30 +02:00
Ladislau Szomoru
1d4130b8b3 Git - fix repository detection when rev-parse returns a UNC path on Windows (#230207) 2024-10-01 10:35:48 +02:00
Matt Bierner
d3596df9eb More type assertion fixes (#230181)
For #211878

Also adds a few suppressions
2024-09-30 16:21:12 -07:00
Matt Bierner
51fa4d0172 Fix more type assertions (#230156)
* Fix more type assertions

For #211878

* Fix type error
2024-09-30 14:17:06 -07:00
Ladislau Szomoru
6c94f0a703 SCM - 💄 ActionButton API cleanup (#229943) 2024-09-27 12:08:48 +02:00
Ladislau Szomoru
0dea65fe0d Git - rework integration tests (#229926)
* Git - rework integration tests

* Fix test
2024-09-27 11:38:10 +02:00
Ladislau Szomoru
44d05b9dfa Git - cheery-pick now handles the case where the changes are already present on the current branch (#229731) 2024-09-25 18:07:16 +02:00
Ladislau Szomoru
bdc3e5e2f4 SCM Graph - only show one badge per color/type (#229716) 2024-09-25 16:18:56 +02:00
Ladislau Szomoru
deea09a36f Git - remove the usage of cp.execSync from git integration test. Add assertions. (#229395) 2024-09-23 18:00:23 +02:00
Ladislau Szomoru
a90e2f4e0f Git - attempt to improve test reliability (#229160) 2024-09-20 16:55:45 +02:00
Ladislau Szomoru
55ed7b6ebc Git - error handling while computing merge base (#229134) 2024-09-20 11:05:59 +02:00
Ladislau Szomoru
cf4bc01bfb Git - correctly detect merge base when creating a branch from a remote branch (#228942) 2024-09-18 17:02:02 +02:00
Ladislau Szomoru
47a8de0b9f SCM Graph - add option to return only a subset of history item references (#228932) 2024-09-18 12:36:57 +02:00
Ladislau Szomoru
dfa3888fbd Git - use --stdin when running git log (#228817)
* Revert "Git - truncate commit hashes before running git log (#228643)"

This reverts commit 26ae4519ca.

* Use the --stdin flag when running git log
2024-09-17 13:36:14 +02:00
Ladislau Szomoru
1d10fa2268 Git - terminal shell integration to handle missing sub command (#228809) 2024-09-17 11:54:11 +02:00
Ladislau Szomoru
26ae4519ca Git - truncate commit hashes before running git log (#228643) 2024-09-14 19:50:20 -07:00
Ladislau Szomoru
31e597ccdd Git - only compute incoming changes decorations when needed (#228611) 2024-09-14 00:49:13 +02:00