mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-03-06 22:10:57 -08:00
Update index.ts
This commit is contained in:
parent
b677088a48
commit
021a8af106
1 changed files with 7 additions and 0 deletions
|
|
@ -96,6 +96,12 @@ export class GitServerService implements IGitServerService {
|
|||
const repoPath = await this.resolveRepoPathOrError(workspaceId, subscriber);
|
||||
if (!repoPath) return;
|
||||
|
||||
logger.debug('Git upload-pack start', {
|
||||
workspaceId,
|
||||
repoPath,
|
||||
requestBodySize: requestBody.length,
|
||||
});
|
||||
|
||||
subscriber.next({
|
||||
type: 'headers',
|
||||
statusCode: 200,
|
||||
|
|
@ -108,6 +114,7 @@ export class GitServerService implements IGitServerService {
|
|||
const git = gitSpawn(['upload-pack', '--stateless-rpc', repoPath], repoPath, {
|
||||
env: {
|
||||
GIT_PROJECT_ROOT: repoPath,
|
||||
GIT_HTTP_EXPORT_ALL: '1',
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue