isomorphic-git 1.18.2 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/browser-tests.json +2 -2
- package/index.cjs +19 -6
- package/index.d.ts +7 -3
- package/index.js +19 -6
- package/index.umd.min.d.ts +7 -3
- package/index.umd.min.js +1 -1
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/size_report.html +1 -1
package/README.md
CHANGED
|
@@ -346,6 +346,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
|
|
|
346
346
|
<tr>
|
|
347
347
|
<td align="center"><a href="https://github.com/seanpoulter"><img src="https://avatars.githubusercontent.com/u/2585460?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Sean Poulter</b></sub></a><br /><a href="#maintenance-seanpoulter" title="Maintenance">🚧</a></td>
|
|
348
348
|
<td align="center"><a href="https://github.com/araknast"><img src="https://avatars.githubusercontent.com/u/84164531?v=4?s=60" width="60px;" alt=""/><br /><sub><b>araknast</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=araknast" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=araknast" title="Tests">⚠️</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=araknast" title="Documentation">📖</a></td>
|
|
349
|
+
<td align="center"><a href="https://github.com/rraab-dev"><img src="https://avatars.githubusercontent.com/u/53948988?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Rafael Raab</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=rraab-dev" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=rraab-dev" title="Documentation">📖</a></td>
|
|
349
350
|
</tr>
|
|
350
351
|
</table>
|
|
351
352
|
|
package/browser-tests.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
"Chrome Headless 79.0.3945.0 (Linux x86_64)",
|
|
3
|
-
"Firefox
|
|
3
|
+
"Firefox 102.0 (Ubuntu 0.0.0)",
|
|
4
4
|
"Chrome 100.0.4896.127 (Android 10)",
|
|
5
|
-
"Edge 79.0.309.65 (Windows 10)",
|
|
6
5
|
"Mobile Safari 13.0 (iOS 13.0)",
|
|
6
|
+
"Edge 79.0.309.65 (Windows 10)",
|
|
7
7
|
"Safari 13.1 (Mac OS 10.15.4)"
|
|
8
8
|
]
|
package/index.cjs
CHANGED
|
@@ -2712,7 +2712,7 @@ class GitPackIndex {
|
|
|
2712
2712
|
const objectsByDepth = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
2713
2713
|
for (let offset in offsetToObject) {
|
|
2714
2714
|
offset = Number(offset);
|
|
2715
|
-
const percent = Math.floor((count
|
|
2715
|
+
const percent = Math.floor((count * 100) / totalObjectCount);
|
|
2716
2716
|
if (percent !== lastPercent) {
|
|
2717
2717
|
if (onProgress) {
|
|
2718
2718
|
await onProgress({
|
|
@@ -2722,6 +2722,7 @@ class GitPackIndex {
|
|
|
2722
2722
|
});
|
|
2723
2723
|
}
|
|
2724
2724
|
}
|
|
2725
|
+
count++;
|
|
2725
2726
|
lastPercent = percent;
|
|
2726
2727
|
|
|
2727
2728
|
const o = offsetToObject[offset];
|
|
@@ -6983,8 +6984,8 @@ function filterCapabilities(server, client) {
|
|
|
6983
6984
|
|
|
6984
6985
|
const pkg = {
|
|
6985
6986
|
name: 'isomorphic-git',
|
|
6986
|
-
version: '1.
|
|
6987
|
-
agent: 'git/isomorphic-git@1.
|
|
6987
|
+
version: '1.19.1',
|
|
6988
|
+
agent: 'git/isomorphic-git@1.19.1',
|
|
6988
6989
|
};
|
|
6989
6990
|
|
|
6990
6991
|
class FIFO {
|
|
@@ -8606,7 +8607,7 @@ async function mergeTree({
|
|
|
8606
8607
|
theirName,
|
|
8607
8608
|
mergeDriver,
|
|
8608
8609
|
}).then(r => {
|
|
8609
|
-
cleanMerge = r.cleanMerge;
|
|
8610
|
+
cleanMerge = cleanMerge && r.cleanMerge;
|
|
8610
8611
|
unmergedFiles.push(filepath);
|
|
8611
8612
|
return r.mergeResult
|
|
8612
8613
|
})
|
|
@@ -8948,6 +8949,8 @@ async function _merge({
|
|
|
8948
8949
|
* @param {string} [args.url]
|
|
8949
8950
|
* @param {string} [args.remote]
|
|
8950
8951
|
* @param {string} [args.remoteRef]
|
|
8952
|
+
* @param {boolean} [args.prune]
|
|
8953
|
+
* @param {boolean} [args.pruneTags]
|
|
8951
8954
|
* @param {string} [args.corsProxy]
|
|
8952
8955
|
* @param {boolean} args.singleBranch
|
|
8953
8956
|
* @param {boolean} args.fastForward
|
|
@@ -8983,6 +8986,8 @@ async function _pull({
|
|
|
8983
8986
|
url,
|
|
8984
8987
|
remote,
|
|
8985
8988
|
remoteRef,
|
|
8989
|
+
prune,
|
|
8990
|
+
pruneTags,
|
|
8986
8991
|
fastForward,
|
|
8987
8992
|
fastForwardOnly,
|
|
8988
8993
|
corsProxy,
|
|
@@ -9020,6 +9025,8 @@ async function _pull({
|
|
|
9020
9025
|
remoteRef,
|
|
9021
9026
|
singleBranch,
|
|
9022
9027
|
headers,
|
|
9028
|
+
prune,
|
|
9029
|
+
pruneTags,
|
|
9023
9030
|
});
|
|
9024
9031
|
// Merge the remote tracking branch into the local one.
|
|
9025
9032
|
await _merge({
|
|
@@ -9185,8 +9192,8 @@ async function fastForward({
|
|
|
9185
9192
|
* @param {boolean} [args.relative = false] - Changes the meaning of `depth` to be measured from the current shallow depth rather than from the branch tip.
|
|
9186
9193
|
* @param {Date} [args.since] - Only fetch commits created after the given date. Mutually exclusive with `depth`.
|
|
9187
9194
|
* @param {string[]} [args.exclude = []] - A list of branches or tags. Instructs the remote server not to send us any commits reachable from these refs.
|
|
9188
|
-
* @param {boolean} [args.prune] - Delete local remote-tracking branches that are not present on the remote
|
|
9189
|
-
* @param {boolean} [args.pruneTags] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
9195
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
9196
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
9190
9197
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
9191
9198
|
* @param {Object<string, string>} [args.headers] - Additional headers to include in HTTP requests, similar to git's `extraHeader` config
|
|
9192
9199
|
* @param {object} [args.cache] - a [cache](cache.md) object
|
|
@@ -11342,6 +11349,8 @@ async function packObjects({
|
|
|
11342
11349
|
* @param {string} [args.url] - (Added in 1.1.0) The URL of the remote repository. The default is the value set in the git config for that remote.
|
|
11343
11350
|
* @param {string} [args.remote] - (Added in 1.1.0) If URL is not specified, determines which remote to use.
|
|
11344
11351
|
* @param {string} [args.remoteRef] - (Added in 1.1.0) The name of the branch on the remote to fetch. By default this is the configured remote tracking branch.
|
|
11352
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
11353
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
11345
11354
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
11346
11355
|
* @param {boolean} [args.singleBranch = false] - Instead of the default behavior of fetching all the branches, only fetch a single branch.
|
|
11347
11356
|
* @param {boolean} [args.fastForward = true] - If false, only create merge commits.
|
|
@@ -11387,6 +11396,8 @@ async function pull({
|
|
|
11387
11396
|
url,
|
|
11388
11397
|
remote,
|
|
11389
11398
|
remoteRef,
|
|
11399
|
+
prune = false,
|
|
11400
|
+
pruneTags = false,
|
|
11390
11401
|
fastForward = true,
|
|
11391
11402
|
fastForwardOnly = false,
|
|
11392
11403
|
corsProxy,
|
|
@@ -11437,6 +11448,8 @@ async function pull({
|
|
|
11437
11448
|
author,
|
|
11438
11449
|
committer,
|
|
11439
11450
|
signingKey,
|
|
11451
|
+
prune,
|
|
11452
|
+
pruneTags,
|
|
11440
11453
|
})
|
|
11441
11454
|
} catch (err) {
|
|
11442
11455
|
err.caller = 'git.pull';
|
package/index.d.ts
CHANGED
|
@@ -1406,8 +1406,8 @@ export function fastForward({ fs, http, onProgress, onMessage, onAuth, onAuthSuc
|
|
|
1406
1406
|
* @param {boolean} [args.relative = false] - Changes the meaning of `depth` to be measured from the current shallow depth rather than from the branch tip.
|
|
1407
1407
|
* @param {Date} [args.since] - Only fetch commits created after the given date. Mutually exclusive with `depth`.
|
|
1408
1408
|
* @param {string[]} [args.exclude = []] - A list of branches or tags. Instructs the remote server not to send us any commits reachable from these refs.
|
|
1409
|
-
* @param {boolean} [args.prune] - Delete local remote-tracking branches that are not present on the remote
|
|
1410
|
-
* @param {boolean} [args.pruneTags] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
1409
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
1410
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
1411
1411
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
1412
1412
|
* @param {Object<string, string>} [args.headers] - Additional headers to include in HTTP requests, similar to git's `extraHeader` config
|
|
1413
1413
|
* @param {object} [args.cache] - a [cache](cache.md) object
|
|
@@ -2279,6 +2279,8 @@ export function packObjects({ fs, dir, gitdir, oids, write, cache, }: {
|
|
|
2279
2279
|
* @param {string} [args.url] - (Added in 1.1.0) The URL of the remote repository. The default is the value set in the git config for that remote.
|
|
2280
2280
|
* @param {string} [args.remote] - (Added in 1.1.0) If URL is not specified, determines which remote to use.
|
|
2281
2281
|
* @param {string} [args.remoteRef] - (Added in 1.1.0) The name of the branch on the remote to fetch. By default this is the configured remote tracking branch.
|
|
2282
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
2283
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
2282
2284
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
2283
2285
|
* @param {boolean} [args.singleBranch = false] - Instead of the default behavior of fetching all the branches, only fetch a single branch.
|
|
2284
2286
|
* @param {boolean} [args.fastForward = true] - If false, only create merge commits.
|
|
@@ -2310,7 +2312,7 @@ export function packObjects({ fs, dir, gitdir, oids, write, cache, }: {
|
|
|
2310
2312
|
* console.log('done')
|
|
2311
2313
|
*
|
|
2312
2314
|
*/
|
|
2313
|
-
export function pull({ fs: _fs, http, onProgress, onMessage, onAuth, onAuthSuccess, onAuthFailure, dir, gitdir, ref, url, remote, remoteRef, fastForward, fastForwardOnly, corsProxy, singleBranch, headers, author: _author, committer: _committer, signingKey, cache, }: {
|
|
2315
|
+
export function pull({ fs: _fs, http, onProgress, onMessage, onAuth, onAuthSuccess, onAuthFailure, dir, gitdir, ref, url, remote, remoteRef, prune, pruneTags, fastForward, fastForwardOnly, corsProxy, singleBranch, headers, author: _author, committer: _committer, signingKey, cache, }: {
|
|
2314
2316
|
fs: CallbackFsClient | PromiseFsClient;
|
|
2315
2317
|
http: HttpClient;
|
|
2316
2318
|
onProgress?: ProgressCallback;
|
|
@@ -2324,6 +2326,8 @@ export function pull({ fs: _fs, http, onProgress, onMessage, onAuth, onAuthSucce
|
|
|
2324
2326
|
url?: string;
|
|
2325
2327
|
remote?: string;
|
|
2326
2328
|
remoteRef?: string;
|
|
2329
|
+
prune?: boolean;
|
|
2330
|
+
pruneTags?: boolean;
|
|
2327
2331
|
corsProxy?: string;
|
|
2328
2332
|
singleBranch?: boolean;
|
|
2329
2333
|
fastForward?: boolean;
|
package/index.js
CHANGED
|
@@ -2706,7 +2706,7 @@ class GitPackIndex {
|
|
|
2706
2706
|
const objectsByDepth = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
2707
2707
|
for (let offset in offsetToObject) {
|
|
2708
2708
|
offset = Number(offset);
|
|
2709
|
-
const percent = Math.floor((count
|
|
2709
|
+
const percent = Math.floor((count * 100) / totalObjectCount);
|
|
2710
2710
|
if (percent !== lastPercent) {
|
|
2711
2711
|
if (onProgress) {
|
|
2712
2712
|
await onProgress({
|
|
@@ -2716,6 +2716,7 @@ class GitPackIndex {
|
|
|
2716
2716
|
});
|
|
2717
2717
|
}
|
|
2718
2718
|
}
|
|
2719
|
+
count++;
|
|
2719
2720
|
lastPercent = percent;
|
|
2720
2721
|
|
|
2721
2722
|
const o = offsetToObject[offset];
|
|
@@ -6977,8 +6978,8 @@ function filterCapabilities(server, client) {
|
|
|
6977
6978
|
|
|
6978
6979
|
const pkg = {
|
|
6979
6980
|
name: 'isomorphic-git',
|
|
6980
|
-
version: '1.
|
|
6981
|
-
agent: 'git/isomorphic-git@1.
|
|
6981
|
+
version: '1.19.1',
|
|
6982
|
+
agent: 'git/isomorphic-git@1.19.1',
|
|
6982
6983
|
};
|
|
6983
6984
|
|
|
6984
6985
|
class FIFO {
|
|
@@ -8600,7 +8601,7 @@ async function mergeTree({
|
|
|
8600
8601
|
theirName,
|
|
8601
8602
|
mergeDriver,
|
|
8602
8603
|
}).then(r => {
|
|
8603
|
-
cleanMerge = r.cleanMerge;
|
|
8604
|
+
cleanMerge = cleanMerge && r.cleanMerge;
|
|
8604
8605
|
unmergedFiles.push(filepath);
|
|
8605
8606
|
return r.mergeResult
|
|
8606
8607
|
})
|
|
@@ -8942,6 +8943,8 @@ async function _merge({
|
|
|
8942
8943
|
* @param {string} [args.url]
|
|
8943
8944
|
* @param {string} [args.remote]
|
|
8944
8945
|
* @param {string} [args.remoteRef]
|
|
8946
|
+
* @param {boolean} [args.prune]
|
|
8947
|
+
* @param {boolean} [args.pruneTags]
|
|
8945
8948
|
* @param {string} [args.corsProxy]
|
|
8946
8949
|
* @param {boolean} args.singleBranch
|
|
8947
8950
|
* @param {boolean} args.fastForward
|
|
@@ -8977,6 +8980,8 @@ async function _pull({
|
|
|
8977
8980
|
url,
|
|
8978
8981
|
remote,
|
|
8979
8982
|
remoteRef,
|
|
8983
|
+
prune,
|
|
8984
|
+
pruneTags,
|
|
8980
8985
|
fastForward,
|
|
8981
8986
|
fastForwardOnly,
|
|
8982
8987
|
corsProxy,
|
|
@@ -9014,6 +9019,8 @@ async function _pull({
|
|
|
9014
9019
|
remoteRef,
|
|
9015
9020
|
singleBranch,
|
|
9016
9021
|
headers,
|
|
9022
|
+
prune,
|
|
9023
|
+
pruneTags,
|
|
9017
9024
|
});
|
|
9018
9025
|
// Merge the remote tracking branch into the local one.
|
|
9019
9026
|
await _merge({
|
|
@@ -9179,8 +9186,8 @@ async function fastForward({
|
|
|
9179
9186
|
* @param {boolean} [args.relative = false] - Changes the meaning of `depth` to be measured from the current shallow depth rather than from the branch tip.
|
|
9180
9187
|
* @param {Date} [args.since] - Only fetch commits created after the given date. Mutually exclusive with `depth`.
|
|
9181
9188
|
* @param {string[]} [args.exclude = []] - A list of branches or tags. Instructs the remote server not to send us any commits reachable from these refs.
|
|
9182
|
-
* @param {boolean} [args.prune] - Delete local remote-tracking branches that are not present on the remote
|
|
9183
|
-
* @param {boolean} [args.pruneTags] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
9189
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
9190
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
9184
9191
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
9185
9192
|
* @param {Object<string, string>} [args.headers] - Additional headers to include in HTTP requests, similar to git's `extraHeader` config
|
|
9186
9193
|
* @param {object} [args.cache] - a [cache](cache.md) object
|
|
@@ -11336,6 +11343,8 @@ async function packObjects({
|
|
|
11336
11343
|
* @param {string} [args.url] - (Added in 1.1.0) The URL of the remote repository. The default is the value set in the git config for that remote.
|
|
11337
11344
|
* @param {string} [args.remote] - (Added in 1.1.0) If URL is not specified, determines which remote to use.
|
|
11338
11345
|
* @param {string} [args.remoteRef] - (Added in 1.1.0) The name of the branch on the remote to fetch. By default this is the configured remote tracking branch.
|
|
11346
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
11347
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
11339
11348
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
11340
11349
|
* @param {boolean} [args.singleBranch = false] - Instead of the default behavior of fetching all the branches, only fetch a single branch.
|
|
11341
11350
|
* @param {boolean} [args.fastForward = true] - If false, only create merge commits.
|
|
@@ -11381,6 +11390,8 @@ async function pull({
|
|
|
11381
11390
|
url,
|
|
11382
11391
|
remote,
|
|
11383
11392
|
remoteRef,
|
|
11393
|
+
prune = false,
|
|
11394
|
+
pruneTags = false,
|
|
11384
11395
|
fastForward = true,
|
|
11385
11396
|
fastForwardOnly = false,
|
|
11386
11397
|
corsProxy,
|
|
@@ -11431,6 +11442,8 @@ async function pull({
|
|
|
11431
11442
|
author,
|
|
11432
11443
|
committer,
|
|
11433
11444
|
signingKey,
|
|
11445
|
+
prune,
|
|
11446
|
+
pruneTags,
|
|
11434
11447
|
})
|
|
11435
11448
|
} catch (err) {
|
|
11436
11449
|
err.caller = 'git.pull';
|
package/index.umd.min.d.ts
CHANGED
|
@@ -1406,8 +1406,8 @@ export function fastForward({ fs, http, onProgress, onMessage, onAuth, onAuthSuc
|
|
|
1406
1406
|
* @param {boolean} [args.relative = false] - Changes the meaning of `depth` to be measured from the current shallow depth rather than from the branch tip.
|
|
1407
1407
|
* @param {Date} [args.since] - Only fetch commits created after the given date. Mutually exclusive with `depth`.
|
|
1408
1408
|
* @param {string[]} [args.exclude = []] - A list of branches or tags. Instructs the remote server not to send us any commits reachable from these refs.
|
|
1409
|
-
* @param {boolean} [args.prune] - Delete local remote-tracking branches that are not present on the remote
|
|
1410
|
-
* @param {boolean} [args.pruneTags] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
1409
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
1410
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
1411
1411
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
1412
1412
|
* @param {Object<string, string>} [args.headers] - Additional headers to include in HTTP requests, similar to git's `extraHeader` config
|
|
1413
1413
|
* @param {object} [args.cache] - a [cache](cache.md) object
|
|
@@ -2279,6 +2279,8 @@ export function packObjects({ fs, dir, gitdir, oids, write, cache, }: {
|
|
|
2279
2279
|
* @param {string} [args.url] - (Added in 1.1.0) The URL of the remote repository. The default is the value set in the git config for that remote.
|
|
2280
2280
|
* @param {string} [args.remote] - (Added in 1.1.0) If URL is not specified, determines which remote to use.
|
|
2281
2281
|
* @param {string} [args.remoteRef] - (Added in 1.1.0) The name of the branch on the remote to fetch. By default this is the configured remote tracking branch.
|
|
2282
|
+
* @param {boolean} [args.prune = false] - Delete local remote-tracking branches that are not present on the remote
|
|
2283
|
+
* @param {boolean} [args.pruneTags = false] - Prune local tags that don’t exist on the remote, and force-update those tags that differ
|
|
2282
2284
|
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Overrides value in repo config.
|
|
2283
2285
|
* @param {boolean} [args.singleBranch = false] - Instead of the default behavior of fetching all the branches, only fetch a single branch.
|
|
2284
2286
|
* @param {boolean} [args.fastForward = true] - If false, only create merge commits.
|
|
@@ -2310,7 +2312,7 @@ export function packObjects({ fs, dir, gitdir, oids, write, cache, }: {
|
|
|
2310
2312
|
* console.log('done')
|
|
2311
2313
|
*
|
|
2312
2314
|
*/
|
|
2313
|
-
export function pull({ fs: _fs, http, onProgress, onMessage, onAuth, onAuthSuccess, onAuthFailure, dir, gitdir, ref, url, remote, remoteRef, fastForward, fastForwardOnly, corsProxy, singleBranch, headers, author: _author, committer: _committer, signingKey, cache, }: {
|
|
2315
|
+
export function pull({ fs: _fs, http, onProgress, onMessage, onAuth, onAuthSuccess, onAuthFailure, dir, gitdir, ref, url, remote, remoteRef, prune, pruneTags, fastForward, fastForwardOnly, corsProxy, singleBranch, headers, author: _author, committer: _committer, signingKey, cache, }: {
|
|
2314
2316
|
fs: CallbackFsClient | PromiseFsClient;
|
|
2315
2317
|
http: HttpClient;
|
|
2316
2318
|
onProgress?: ProgressCallback;
|
|
@@ -2324,6 +2326,8 @@ export function pull({ fs: _fs, http, onProgress, onMessage, onAuth, onAuthSucce
|
|
|
2324
2326
|
url?: string;
|
|
2325
2327
|
remote?: string;
|
|
2326
2328
|
remoteRef?: string;
|
|
2329
|
+
prune?: boolean;
|
|
2330
|
+
pruneTags?: boolean;
|
|
2327
2331
|
corsProxy?: string;
|
|
2328
2332
|
singleBranch?: boolean;
|
|
2329
2333
|
fastForward?: boolean;
|