isomorphic-git 1.10.1 → 1.10.2

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 CHANGED
@@ -338,6 +338,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
338
338
  <td align="center"><a href="https://ryotak.me/"><img src="https://avatars.githubusercontent.com/u/49341894?v=4?s=60" width="60px;" alt=""/><br /><sub><b>RyotaK</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/issues?q=author%3ARy0taK" title="Bug reports">🐛</a></td>
339
339
  <td align="center"><a href="https://github.com/strangedev"><img src="https://avatars.githubusercontent.com/u/3045979?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Noah Hummel</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=strangedev" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=strangedev" title="Tests">⚠️</a></td>
340
340
  <td align="center"><a href="https://github.com/mtlewis"><img src="https://avatars.githubusercontent.com/u/542836?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Mike Lewis</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=mtlewis" title="Documentation">📖</a></td>
341
+ <td align="center"><a href="https://twitter.com/SamVerschueren"><img src="https://avatars.githubusercontent.com/u/1913805?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Sam Verschueren</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=SamVerschueren" title="Code">💻</a></td>
341
342
  </tr>
342
343
  </table>
343
344
 
@@ -1,8 +1,8 @@
1
1
  [
2
2
  "HeadlessChrome 0.0.0 (Linux 0.0.0)",
3
- "Firefox 92.0.0 (Ubuntu 0.0.0)",
4
- "Chrome 79.0.3945 (Windows 10 0.0.0)",
5
- "Chrome Mobile 91.0.4472 (Android 0.0.0)",
3
+ "Firefox 94.0.0 (Ubuntu 0.0.0)",
6
4
  "Safari 13.1.0 (Mac OS X 10.15.4)",
7
- "Mobile Safari 13.0.0 (iOS 13.0.0)"
5
+ "Chrome 79.0.3945 (Windows 10 0.0.0)",
6
+ "Mobile Safari 13.0.0 (iOS 13.0.0)",
7
+ "Chrome Mobile 94.0.4606 (Android 0.0.0)"
8
8
  ]
package/index.cjs CHANGED
@@ -1694,8 +1694,8 @@ class GitRefManager {
1694
1694
  if (serverRef.startsWith('refs/tags') && !serverRef.endsWith('^{}')) {
1695
1695
  // Git's behavior is to only fetch tags that do not conflict with tags already present.
1696
1696
  if (!(await GitRefManager.exists({ fs, gitdir, ref: serverRef }))) {
1697
- // If there is a dereferenced an annotated tag value available, prefer that.
1698
- const oid = refs.get(serverRef + '^{}') || refs.get(serverRef);
1697
+ // Always use the object id of the tag itself, and not the peeled object id.
1698
+ const oid = refs.get(serverRef);
1699
1699
  actualRefsToWrite.set(serverRef, oid);
1700
1700
  }
1701
1701
  }
@@ -6857,8 +6857,8 @@ function filterCapabilities(server, client) {
6857
6857
 
6858
6858
  const pkg = {
6859
6859
  name: 'isomorphic-git',
6860
- version: '1.10.1',
6861
- agent: 'git/isomorphic-git@1.10.1',
6860
+ version: '1.10.2',
6861
+ agent: 'git/isomorphic-git@1.10.2',
6862
6862
  };
6863
6863
 
6864
6864
  class FIFO {
package/index.js CHANGED
@@ -1688,8 +1688,8 @@ class GitRefManager {
1688
1688
  if (serverRef.startsWith('refs/tags') && !serverRef.endsWith('^{}')) {
1689
1689
  // Git's behavior is to only fetch tags that do not conflict with tags already present.
1690
1690
  if (!(await GitRefManager.exists({ fs, gitdir, ref: serverRef }))) {
1691
- // If there is a dereferenced an annotated tag value available, prefer that.
1692
- const oid = refs.get(serverRef + '^{}') || refs.get(serverRef);
1691
+ // Always use the object id of the tag itself, and not the peeled object id.
1692
+ const oid = refs.get(serverRef);
1693
1693
  actualRefsToWrite.set(serverRef, oid);
1694
1694
  }
1695
1695
  }
@@ -6851,8 +6851,8 @@ function filterCapabilities(server, client) {
6851
6851
 
6852
6852
  const pkg = {
6853
6853
  name: 'isomorphic-git',
6854
- version: '1.10.1',
6855
- agent: 'git/isomorphic-git@1.10.1',
6854
+ version: '1.10.2',
6855
+ agent: 'git/isomorphic-git@1.10.2',
6856
6856
  };
6857
6857
 
6858
6858
  class FIFO {