Commit Graph

321 Commits

Author SHA1 Message Date
Eric Amodio
022d823577 Fixes #110904 - adjusts error regex 2021-03-19 14:21:26 -04:00
João Moreno
2525f3e276 Merge branch 'master' into pr/113673 2021-02-03 13:39:20 +01:00
Eric Amodio
e6d5a20944 Fixes getBranch when name is fully qualified 2021-01-27 14:51:15 -05:00
Eric Amodio
2f6c928b20 Fixes getBranch issue with remote branches
Improves perf by reducing git calls from 3 to 1

Before this change, remote branches were returned as local ones (RefType.Head), now they will be RefType.RemoteHead
2021-01-25 18:50:31 -05:00
Florian Schwalm
cbbf2d0990 Correctly resolve mapped drive on Windows
fs.realpath.native in NodeJS uses the Win32 API function GetFinalPathNameByHandle() on Windows hosts,
therefore a given path must follow the guidelines for Win32 API file functions.
Drive letters on Windows need to end on a backslash according to the Win32 File Naming Conventions (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
Omitting the backslash results in Windows treating the remaining path components as a relative path starting from the current directory on the specified disk
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#fully-qualified-vs-relative-paths
2021-01-20 11:58:37 -05:00
Eric Amodio
21c11ba864 Fixes #114433 - adds setting to avoid git config 2021-01-15 14:05:55 -05:00
Eric Amodio
d076ee1b94 Adds force push mode to push api 2021-01-13 00:42:07 -05:00
Eric Amodio
6828ae1ab5 Removes trim & fixes regex 2021-01-08 11:52:50 -05:00
Eric Amodio
f1151f84ff Adds userAgent to clone, pull, fetch - #111909
Changes to use env
2021-01-06 17:50:42 -05:00
Eric Amodio
9b6aaf1e86 Fixes #112481 - missing refs (because of trim) 2021-01-05 23:19:41 -05:00
Nick Rayburn
3563e2b740 rename run to exec for consistency 2021-01-01 21:20:12 -06:00
SteVen Batten
f76b1c25e7 remove quotes since we don't spawn shell 2020-12-14 22:03:51 +00:00
Eric Amodio
6424b09b2c Fixes #111909 - adds user agent to push 2020-12-10 17:02:45 -05:00
Eric Amodio
c358910b01 Fixes #110880 - sets useConfigOnly=true on commit 2020-11-30 17:55:52 -05:00
João Moreno
e8b69537cd fixes #40295 2020-11-10 13:54:53 +01:00
João Moreno
91aa548b05 Merge branch 'master' into pr/104614 2020-11-09 16:34:21 +01:00
João Moreno
c96f362934 Merge branch 'master' into pr/99324 2020-11-09 16:17:36 +01:00
Scott Davis
7e5609afa9 feat: implement Git: Push Tags command (#110096)
Related to #109799
2020-11-09 16:00:44 +01:00
João Moreno
df4524f713 Merge branch 'master' into pr/97525 2020-11-09 15:08:04 +01:00
João Moreno
592fa5cdaf Merge branch 'master' into pr/97486 2020-11-09 14:29:59 +01:00
João Moreno
ce4fb6e323 fixes #96264 2020-11-06 14:45:26 +01:00
João Moreno
63ce8b4732 fixes #92146 2020-11-06 12:00:13 +01:00
João Moreno
49990bebe4 add git CommandErrorOutputTextDocumentContentProvider 2020-11-05 16:46:42 +01:00
João Moreno
1b9cd42b9b remove unused import 2020-11-04 15:47:49 +01:00
João Moreno
4f038dba60 💄 2020-11-04 15:25:52 +01:00
João Moreno
e61be087c6 Merge branch 'master' into pr/88772 2020-11-04 15:06:31 +01:00
Eric Amodio
16f4a29aa0 Changes URI -> Uri 2020-10-25 22:50:25 -04:00
João Moreno
42e920a18a Merge branch 'master' into pr/108913 2020-10-23 14:32:22 +02:00
João Moreno
0f1904834b 💄 2020-10-22 21:12:13 +02:00
Jordan Bayles
3082f63523 Add Git: Clone Recursively option
This patch adds a new command, Git: Clone Recursively, that adds the
--recursive option to git clone in order to also check out git
submodules.

Bug: 108381
2020-10-21 23:05:48 -07:00
tomerstav
741925db11 Implemented rebase onto 2020-10-19 04:13:52 +00:00
Andrey Sinitsyn
b71ede64c1 fix(git): fatal when adding, reverting files or cleaning repo on win32 (#108691)
Fixes issue #108690
2020-10-16 15:26:15 +02:00
João Moreno
47116a8acd fixes #108371 2020-10-12 11:04:30 +02:00
ChaseKnowlden
e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Matt Bierner
50cc1d0e97 Update to use TS 4.1 for building VS Code 2020-09-16 11:58:01 -07:00
WhizSid
c334da1952 Multi git executable paths (#85954)
* Multi git executable path

* update `git.path` setting description

* 💄

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2020-09-10 15:02:37 +02:00
Vyacheslav Pukhanov
663810e275 Adds commands for --no-verify commit variants (#106335)
* add `{allow,confirm}NoVerifyCommit`  options

* adds commit comands with no verify

* handles no verify command variants

* handle no verify commit option

* only display no verify variants when option is set
2020-09-10 11:14:28 +02:00
sneakyfish5.sneaky@gmail.com
ff8d4feeb4 Git: Add cherryPick command 2020-08-09 16:51:37 -05:00
João Moreno
1ab3137674 git: PushErrorHandler 2020-07-15 15:52:31 +02:00
Eric Amodio
561f5b6d26 Remove eslint disable -- #101978 2020-07-09 22:47:42 -04:00
João Moreno
96e3e0f05f hide git rev-parse --show-toplevel 2020-07-06 09:49:11 +02:00
Daniel Davis
3f90d90ab2 Adding .git/SQUASH_MSG detection to commit message autofill 2020-06-26 12:35:32 +01:00
Fedor Nezhivoi
314b58c8e1 switch to use iconv-lite-umd for #79275 (#100472)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-18 16:08:17 +02:00
João Moreno
159bc687ca fix regex 2020-06-11 17:29:12 +02:00
João Moreno
3cc8685501 fixes #24883 2020-06-11 11:36:57 +02:00
Alex Ross
92164dd93d Add a pattern to the git BranchQuery (#99681)
* Add a pattern to the git BranchQuery

* Add count, which makes getting refs even faster

* Update order of args in getRefs to match for-each-ref doc
2020-06-10 13:51:00 +02:00
Asif Hasan
df3af97279 fix fetchOnPull behavior for Sync 2020-06-03 18:23:37 -05:00
João Moreno
8cce062aaf 💄 2020-05-27 15:27:13 +02:00
rzj17
60d906fd57 Modify git add/revert to use splitInChunks 2020-05-23 18:13:55 +01: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