Commit Graph
57 Commits
Author SHA1 Message Date
Ladislau SzomoruandGitHub a1eb9e2b48 Git - implement branch protection provider (#179752)
* Branch protection using settings is working

* Revert extension api changes

* Refactor code
2023-04-12 08:48:29 +01:00
Ladislau SzomoruandGitHub 88df431511 Git - fix status bar icon for a detached commit (#172271) 2023-01-25 10:52:55 +01: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 9e195507a2 Git - Define Operations as types (#169518)
Define Operations as types
2022-12-21 06:53:29 -08:00
Ladislau SzomoruandGitHub 4dea68b946 Git - Add the capability to "attach" state to operations (#169371) 2022-12-16 11:08:38 +01:00
Ladislau SzomoruandGitHub 7febede390 Git - more tweaks to command enablement (#169292)
Use a new context for enablement
2022-12-15 18:37:03 +01:00
Ladislau SzomoruandGitHub 000ce1a7e5 Git - status bar item improvements (#169233)
* More polish on the git status bar items

* Update status bar icon based on ref type

* Update status bar item label at the beginning of checkout
2022-12-15 12:07:49 +01:00
Ladislau SzomoruandGitHub c78d585895 Git - Disable git status bar items while commit is running (#169133)
Disable git status bar items while commit is running
2022-12-14 15:35:47 +01:00
f09c4124a2 Engineering - adopt l10n for git-base/git/github extesions (#164566)
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-10-28 11:27:08 +02:00
Ladislau SzomoruandGitHub ce7e388ef1 Git - Checkout command aria label now includes the branch name (#161385)
* Checkout command aria label now includes the branch name

* Pull request feedback
2022-09-21 07:10:52 -07:00
Ladislau SzomoruandGitHub 03c16c9c00 Git - The git.sync command should use the git.rebaseWhenSync setting (#155511)
The git.sync command should use the git.rebaseWhenSync setting
2022-07-18 18:38:58 +02:00
Ladislau SzomoruandGitHub 25cc6c0dd0 Git - Remove git.branchProtectionIndicator setting (#153020)
Remove git.branchProtectionIndicator setting
2022-06-23 21:56:54 +02:00
Ladislau SzomoruandGitHub 75362a6268 Git - add settings to control the branch protection indicator (#152469)
* Add settings to control the branch protection indicator

* Pull request feedback
2022-06-22 01:02:13 -07:00
46d9d7acda Git - branch protection (#152218)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-06-16 16:25:03 +02:00
Ladislau SzomoruandGitHub bfad20be9d Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
Ladislau Szomoru 56681eda57 Update Publish Branch label 2021-11-16 14:43:47 +01:00
João Moreno a27961d843 git: improve status bar message 2020-10-21 16:37:49 +02:00
João Moreno db514242e4 fixes #102303 2020-08-05 12:03:52 +02:00
João Moreno 4c36782f8e git api: publishRepository 2020-05-15 10:50:05 +02:00
João Moreno 6981f7c7fb 💄 2020-05-15 10:50:05 +02:00
João Moreno 6d127275f2 💄 2020-05-15 10:50:05 +02:00
AlexanderandJoão Moreno 3ff6b96ab7 Update enablement of status bar item in constructor (#80517) 2019-09-10 10:27:33 +02:00
Dan McCarthyandJoão Moreno 72e3d3b45d Updated branch tooltip to display full branch name instead of "checkout..." (#72275)
Previously the tooltip displayed when hovering over a branch name in the git workflow simply said "Checkout...".

However, this could be better used by displaying the full branch name since long branch names are concatenated and not shown in full. Therefore it has been updated to do so.
2019-08-08 12:28:03 +02:00
Joao Moreno 6af97c8756 💄 2019-08-08 12:02:55 +02:00
Josh Leeb-du Toit 05ed3df9b8 Add option to hide git sync button in status bar
This PR adds the option `git.statusBarSync.enabled` which when set to `false`
will hide the `SyncStatusBar` icon that is, by default, visible in the status
bar.
2019-03-15 17:11:32 +11:00
Matt Bierner dd3e2d94f8 Remove use strict directives in extension code
We compile with alwaysStrict so these directives are not needed
2018-10-02 16:02:44 -07:00
Joao Moreno 5455483afe fix missing resource 2018-09-12 14:56:39 +02:00
Joao Moreno 405e853713 💄 2018-09-12 12:03:08 +02:00
Joao Moreno fa1deaaa34 Merge commit 'refs/pull/52527/head' of github.com:Microsoft/vscode into pr/52527 2018-09-12 12:01:51 +02:00
Joao Moreno 6d2598ad88 git api: repository state 2018-08-24 11:16:49 +02:00
Joao Moreno e045147e44 improve conflicts during git rebase flow 2018-07-06 12:15:27 +02:00
wistcc 5c02579269 Adding the git.syncRebase setting 2018-06-20 21:11:36 -04:00
João MorenoandGitHub 4b1df4f4a7 Update statusbar.ts 2018-06-18 10:44:13 +02:00
Nahom Abi 080e8247cc Fix #51677: Git icon not spinning when pushing from command palette 2018-06-17 18:14:37 -07:00
Joao Moreno 86421af3a7 fixes #37810 2017-12-07 15:06:31 +01:00
Joao 11237b630f fixes #33878 2017-09-07 12:14:28 +02:00
Joao Moreno f9207f124a remove console.log 2017-08-23 12:37:43 +02:00
Joao Moreno 0215be15d2 git: status bar commands scope 2017-08-22 16:15:45 +02:00
Joao Moreno fe8ee2e7b8 git: repository == scm provider 2017-08-15 18:03:47 +02:00
Joao Moreno 16e8189650 model -> repository 2017-08-15 15:17:15 +02:00
Benjamin Pasero eac49a321b Git: rename 'Publish' to 'Publish Branch' (fixes #26133) 2017-06-01 09:26:37 +02:00
Maik Riechert 1a4f9ab0e6 show ahead/behind while git syncing
reverts fab6f8871a
2017-05-05 10:15:08 +01:00
Joao Moreno 6097966099 🐛 spinning sync icon
fixes #23975
2017-04-21 12:40:10 +02:00
Joao Moreno a8b2945855 🐛 remove the notion of active scm provider
introduces more changes to the SCM api

fixes #23623
fixes #23676
2017-03-30 21:10:44 +02:00
Joao Moreno 3d6b1b71c5 git: wrap up nogit state 2017-02-16 10:15:38 +01:00
Joao Moreno 9a3321404e git: undo command 2017-02-08 12:59:19 +01:00
Joao Moreno 5ab16bc306 fix #19496 2017-01-31 16:01:24 +01:00
Joao Moreno 43dd9b76b0 git: nls
related to #18615
2017-01-17 17:38:00 +01:00
Joao Moreno fab6f8871a git: don't show ahead/behind when syncing 2017-01-17 17:08:07 +01:00
Joao Moreno 54e16db16e git: block concurrent commands, sync 2017-01-16 15:51:10 +01:00