Commit Graph

67 Commits

Author SHA1 Message Date
Ladislau Szomoru
a8e00a00dd Git - expose untracked changes group (#216414) 2024-06-18 10:59:53 +02:00
Connor Peet
6629c4e0a9 git: allow querying whether files are gitignore (#212982)
* git: allow querying whether files are gitignore

This exposes `checkIgnore`, which I want to use in copilot to determine
which files I should go into when checking references.

* rename method
2024-05-23 21:28:04 +02:00
Ladislau Szomoru
a7f384badb Git - remove deprecated extension API (#209010) 2024-03-28 05:25:40 -07:00
Ladislau Szomoru
ae7a786d1b Git - do not invoke post commit commands when calling commit through the git extension api (#205364) 2024-02-16 14:32:31 +01:00
Ladislau Szomoru
5be6890cf5 Git - add onCommit event to vscode.git extension API (#202863) 2024-01-19 17:34:44 +01:00
Alex Ross
7109701918 Expose git merge as extension API (#202503)
* Expose git merge as extension API
Part of microsoft/vscode-pull-request-github#200

* Respond to PR feedback
2024-01-15 17:22:43 +01:00
Ladislau Szomoru
1466cbfcdf SCM - delete scmInputBoxActionButton proposal (#200012) 2023-12-05 10:52:01 +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
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
Ladislau Szomoru
ed30010d3f Git - better error handling for git merge-base (#198208) 2023-11-14 14:51:17 +01: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
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
ad395686d2 Git - add support for type changed (#187714)
* Initial implementation

* Add icons
2023-07-12 16:18:38 +02:00
Ladislau Szomoru
e7e97f8ea8 Git - handle --intent-to-add on a renamed resource (#183307) 2023-05-24 13:11:57 +02:00
Ladislau Szomoru
edcad3ab53 GitHub - use GitHub default branch name when publishing to GitHub (#183207) 2023-05-24 11:15:17 +02:00
Ladislau Szomoru
bb7570f4f8 GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Ladislau Szomoru
475c59b638 Git - Deprecate the refs property (#172772) 2023-01-30 11:33:37 -08:00
Ladislau Szomoru
827636e106 Git - Add getRefs() extension API (#170903)
* Add `getRefs()` extension API

* Cleanup
2023-01-11 11:21:23 +01:00
Ladislau Szomoru
c7c0acd2ce Git - Commit action button extension api (#154555) 2022-07-12 17:06:16 +02:00
Sebastian Bresin
7ed4699079 feat: also expose repository.revert() (#145029) 2022-03-21 13:11:43 +01:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Ladislau Szomoru
f0f5baffb9 Fix #124066 2021-12-13 15:44:20 +01:00
Christopher M Kline
b0d7083e79 Expose 'tag' and 'deleteTag' in git extension API (#123815) 2021-12-13 14:37:47 +01:00
Ladislau Szomoru
bfad20be9d Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
Rachel Macfarlane
e3829dc247 Add 'prune' option to fetch in git extension API (#117923)
Add 'prune' option to fetch in git extension API
Add overload to fetch to pass options
2021-03-02 15:18:59 -05:00
Eric Amodio
6b241a6845 Closes #111210 - adds openRepository api 2021-01-21 01:06:48 -05:00
Eric Amodio
d076ee1b94 Adds force push mode to push api 2021-01-13 00:42:07 -05:00
Eric Amodio
3767f97bc3 Adds onDidPublish to Git api 2021-01-12 12:15:40 -05:00
João Moreno
0321ca5d96 fixes #106664 2020-11-27 12:22:16 +01:00
João Moreno
1ab3137674 git: PushErrorHandler 2020-07-15 15:52:31 +02:00
João Moreno
c85718eb81 git: remote source provider picker command
fixes #102394
2020-07-14 13:57:01 +00:00
Alex Ross
6570efce0f Add git extension API for branches (#97621)
Enables microsoft/vscode-pull-request-github#1781
2020-05-14 12:26:50 +02:00
João Moreno
cab6f958a2 git extension api: registerCredentialsProvider 2020-04-24 18:04:36 +02:00
João Moreno
ab42ffc44c add git api to init 2020-04-23 16:26:24 +02:00
João Moreno
888f89b40a add renameRemote 2020-04-23 14:37:39 +02:00
João Moreno
675ed02c1f move RemoteSourceProvider to git api 2020-04-17 16:34:22 +02:00
João Moreno
85f3f46ec1 fixes #93779 2020-04-09 11:13:36 +02:00
Joao Moreno
16c7551f36 move git smoke tests to integration tests 2020-02-04 17:06:49 +01:00
Joao Moreno
afe47568c1 git: expose getRepository 2020-01-21 15:49:44 +01:00
Joao Moreno
b7ead236be git api: expose toGitUri 2019-11-19 16:54:41 +01:00
Joao Moreno
23d8322547 introduce git APIState
fixes #77787
2019-07-25 15:38:10 +02:00
Joao Moreno
37fbae08a4 Merge commit 'refs/pull/64826/head' of github.com:Microsoft/vscode into pr/64826 2019-01-28 15:34:23 +01:00
rebornix
e5a596be29 add git blame api 2019-01-11 13:10:54 -08:00
Ilya Biryukov
04c3dde6e4 Address PR feedback on Git provide APIs 2019-01-07 11:38:33 -08:00
Joao Moreno
ff157f90a0 add unshallow as an option for git pull 2019-01-07 11:22:26 +01:00
Peng Lyu
94a04621dd Fix microsoft/vscode-pull-request-github#612. Allow fetching with limited depths 2018-12-28 12:02:28 -08:00
Ilya Biryukov
01292b4174 Add Git log, globalConfig, and tree diff API 2018-12-11 14:04:34 -08:00
Rachel Macfarlane
ad5f5ea365 Expose 'apply' and 'diff --cached' from git extension API 2018-11-13 16:18:37 -08:00
Rachel Macfarlane
40a6a2db9a Expose force flag for deleting branch on git extension API 2018-11-07 10:48:40 -08:00