Commit Graph
444 Commits
Author SHA1 Message Date
Ladislau SzomoruandGitHub 45b5423f72 Git - only add --ignore-case if it is a supported flag (#209819) 2024-04-08 12:47:18 +02:00
Ladislau SzomoruandGitHub 967170aa0a Git - add the capability to filter git log based on the author (#207169) 2024-03-08 16:41:40 +01:00
Ladislau SzomoruandGitHub 0d22ba354b Git - 💄 remove duplicated code (#203609) 2024-01-27 17:16:16 +01:00
Ladislau SzomoruandGitHub fe0632cbb2 Git - handle stashes that contain untracked files (#203572) 2024-01-26 14:28:45 -08:00
Ladislau SzomoruandGitHub adf93c270a Git - view stash should use the stash's parent commit for the left hand side (#203450) 2024-01-25 15:53:20 +01:00
Ladislau SzomoruandGitHub 97b8727343 Git - fix viewing stahes with added/deleted/renamed files (#203341) 2024-01-24 16:09:02 +01:00
Ladislau SzomoruandGitHub 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 SzomoruandGitHub bff3ef7651 Git - improve code that gets commit count (#201907) 2024-01-05 12:55:05 -08:00
Ladislau SzomoruandGitHub 9098f756e8 Git - add missing error handler (#201160) 2023-12-18 14:43:44 -08:00
Ladislau SzomoruandGitHub 4061a9a5e7 Git - log branch name in case the branch cannot be found (#201117) 2023-12-18 13:15:48 +01:00
Ladislau SzomoruandGitHub baab9bde4d Git - timeline provider should handle repository with no commits (#200962) 2023-12-15 15:17:38 +01:00
Ladislau SzomoruandGitHub 81546fb355 Git - only add --diff-merges if flag is supported (#200954) 2023-12-15 14:39:46 +01:00
Ladislau SzomoruandGitHub b0b6913211 Git - gif config should not throw if key does not exist (#200358) 2023-12-08 15:10:52 +01:00
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
Ladislau SzomoruandGitHub 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 SzomoruandGitHub ed30010d3f Git - better error handling for git merge-base (#198208) 2023-11-14 14:51:17 +01:00
Ladislau SzomoruandGitHub 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 SzomoruandGitHub 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
Henning DieterichsandLadislau Szomoru 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
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
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 SzomoruandGitHub 3a0b6baa61 Git - provide correct editor title for resources under the "All Changes" node (#194273) 2023-09-27 12:05:58 +02:00
Ladislau SzomoruandGitHub 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 SzomoruandGitHub 419e445f8d Git - fix regular expression for fully qualified ref names (#193953) 2023-09-25 11:25:51 +02:00
Ladislau SzomoruandGitHub 1545aeab06 SCM - Initial implementation of the Sync view (#193440) 2023-09-19 15:58:22 +02:00
Ladislau SzomoruandGitHub 3788d799d2 Git - improve logging for git detection (#192297) 2023-09-06 07:30:59 -07:00
Alex RossandGitHub 1ac6f50f44 Enable the .. argument for git log (#188500)
* Enable the `..` argument for git log
This will return the commits that the `toRef` has but the `fromRef` does not.

* Use range instead
2023-09-04 14:36:16 +02:00
Ladislau SzomoruandGitHub c7d46b2430 Git - improve getRepositoryExact() error handling (#191462)
* Git - improve getRepositoryExact() error handling

* Run async operations in parallel
2023-08-28 16:34:46 +02:00
Matt BiernerandGitHub 3f8a55b32c trimLeft -> trimStart (#190601)
These should be the same but the `trimLeft` name has been deprecated
2023-08-16 11:11:20 -07:00
3b9f2825b7 Git - better handle symbolic links (#186716)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-05 12:56:26 +02:00
Ladislau SzomoruandGitHub 9b8f1cb437 Git - only add default branch name if supported (#185557) 2023-06-19 12:42:30 +02:00
Ladislau SzomoruandGitHub 3447686499 Git - use close event when detecting git version (#184998) 2023-06-13 11:25:00 +02:00
Ladislau SzomoruandGitHub e82cbf80ba Git - only add --find-renames if the value is not the default one (#184992) 2023-06-13 09:56:29 +02:00
Ladislau SzomoruandGitHub fbdddfde42 Git - upgrade which dependency (#184607) 2023-06-08 17:28:14 +02:00
Ladislau SzomoruandGitHub bb6d7d67ff Git - handle branch name with incorrect casing (#184502) 2023-06-07 15:25:09 +02:00
Ladislau SzomoruandGitHub e7e97f8ea8 Git - handle --intent-to-add on a renamed resource (#183307) 2023-05-24 13:11:57 +02:00
Ladislau SzomoruandGitHub edcad3ab53 GitHub - use GitHub default branch name when publishing to GitHub (#183207) 2023-05-24 11:15:17 +02:00
Ladislau SzomoruandGitHub 46c9471450 Git - fix git status regression for git versions older than 2.18 (#182739)
* Git - fix git status regression for git versions older than 2.18

* 💄 - Tweak version number
2023-05-17 11:17:53 +02:00
Ladislau SzomoruandGitHub b0252732a7 Git - add similarity threshold setting (#182492) 2023-05-15 12:59:33 +02:00
Ladislau SzomoruandGitHub b4469cf109 Git - add setting to control default branch name (#181884)
* Initial implementation

* Refactor based on discussions

* More pull request feedback
2023-05-10 20:52:13 +02:00
Ladislau SzomoruandGitHub be84f97b9a Git - fix edge case when the repository is at the root of a mapped drive (#171749)
* Git - Handle repository at the root of a mapped drive

* Update comment
2023-01-19 20:46:21 +01:00
Ladislau SzomoruandGitHub 9a9d7bfdde Git - Update getRefs pattern when querying for branches and tags (#171605) 2023-01-18 12:41:32 +01:00
Ladislau SzomoruandGitHub 99ecdd4122 Git - Another attempt to fix an edge case for adding a safe directory (#171151)
* Git - Another attempt to fix an edge case for adding a safe directory

* Pull request feedback
2023-01-13 20:10:48 +01:00
Ladislau SzomoruandGitHub 827636e106 Git - Add getRefs() extension API (#170903)
* Add `getRefs()` extension API

* Cleanup
2023-01-11 11:21:23 +01:00
Ladislau SzomoruandGitHub 65962c405e Git - cleanup getRemotes() (#169839)
* Git - cleanup getRemotes()

* Remove test for read-only remote as the code to determine that a remote is read-only has been moved out of the function that does the parsing
2023-01-09 14:24:35 +01:00
Ladislau SzomoruandGitHub 1542e90126 Git - Add command to delete remote tags (#170415)
Add command to delete remote tags
2023-01-03 06:08:48 -08:00
Ladislau SzomoruandGitHub 1d18dfc209 Git - detect when HEAD is a tag (#170271)
* HEAD set when checking out a tag

* Remove more calls

* Remove tag references when in detached mode
2023-01-03 06:07:46 -08:00
Ladislau SzomoruandGitHub 2c8b54bbbf Git - Add support for git stash --staged (#169539)
Add support for git stash --staged
2022-12-19 15:04:55 +01:00
Ladislau SzomoruandGitHub c180a08350 Git - fix discard changes when the repository does not have an initial commit (#169397) 2022-12-16 14:47:25 +01:00