File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33' @gitbook/integration-gitlab ' : patch
44---
55
6- Fix git sync export showing no commit message for computed revisions
6+ Revert previous gitsync integration changes
Original file line number Diff line number Diff line change @@ -141,10 +141,7 @@ export async function triggerExport(
141141
142142 logger . info ( `Initiating an export from space ${ spaceId } to GitHub` ) ;
143143
144- // We only need the source revision here so mergedFrom is preserved for the export commit
145- // message. Computed revision details are not needed here because the runner git sync
146- // computes the revision anyway.
147- const { data : revision } = await api . spaces . getCurrentRevision ( spaceId , { computed : false } ) ;
144+ const { data : revision } = await api . spaces . getCurrentRevision ( spaceId ) ;
148145
149146 const auth = await getRepositoryAuth ( context , config , false ) ;
150147 const repoTreeURL = getGitTreeURL ( config ) ;
Original file line number Diff line number Diff line change @@ -134,10 +134,7 @@ export async function triggerExport(
134134
135135 logger . info ( `Initiating an export from space ${ spaceId } to GitLab` ) ;
136136
137- // We only need the source revision here so mergedFrom is preserved for the export commit
138- // message. Computed revision details are not needed here because the runner git sync
139- // computes the revision anyway.
140- const { data : revision } = await api . spaces . getCurrentRevision ( spaceId , { computed : false } ) ;
137+ const { data : revision } = await api . spaces . getCurrentRevision ( spaceId ) ;
141138
142139 const auth = await getRepositoryAuth ( config ) ;
143140 const repoTreeURL = getGitTreeURL ( config ) ;
You can’t perform that action at this time.
0 commit comments