@ -574,7 +574,10 @@ export class Repository implements Disposable {
remote? : string ;
remote? : string ;
} ) {
} ) {
try {
try {
if ( options ? . branch != null || configuration . get ( 'experimental.nativeGit' ) === true ) {
if (
options ? . branch != null ||
( configuration . get ( 'experimental.nativeGit' ) ? ? this . container . prereleaseOrDebugging )
) {
await this . container . git . fetch ( this . path , options ) ;
await this . container . git . fetch ( this . path , options ) ;
} else {
} else {
void ( await executeCoreGitCommand ( 'git.fetch' , this . path ) ) ;
void ( await executeCoreGitCommand ( 'git.fetch' , this . path ) ) ;
@ -793,7 +796,7 @@ export class Repository implements Disposable {
private async pullCore ( options ? : { rebase? : boolean } ) {
private async pullCore ( options ? : { rebase? : boolean } ) {
try {
try {
if ( configuration . get ( 'experimental.nativeGit' ) === true ) {
if ( configuration . get ( 'experimental.nativeGit' ) ? ? this . container . prereleaseOrDebugging ) {
const withTags = configuration . getAny < CoreGitConfiguration , boolean > (
const withTags = configuration . getAny < CoreGitConfiguration , boolean > (
'git.pullTags' ,
'git.pullTags' ,
Uri . file ( this . path ) ,
Uri . file ( this . path ) ,
@ -884,7 +887,7 @@ export class Repository implements Disposable {
} ;
} ;
} ) {
} ) {
try {
try {
if ( configuration . get ( 'experimental.nativeGit' ) === true ) {
if ( configuration . get ( 'experimental.nativeGit' ) ? ? this . container . prereleaseOrDebugging ) {
const branch = await this . getBranch ( options ? . reference ? . name ) ;
const branch = await this . getBranch ( options ? . reference ? . name ) ;
await this . container . git . push ( this . path , {
await this . container . git . push ( this . path , {
force : options?.force ,
force : options?.force ,