You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -15,7 +16,7 @@ import { join } from '../utils/path.js'
15
16
* @param {FsClient} args.fs - a file system implementation
16
17
* @param {SignCallback} [args.onSign] - a PGP signing implementation
17
18
* @param {string} [args.dir] - The [working tree](dir-vs-gitdir.md) directory path
18
-
* @param {string} [args.gitdir=join(dir,'.git')] - [required] The [git directory](dir-vs-gitdir.md) path
19
+
* @param {string} [args.gitdir=joinSafe(dir,'.git')] - [required] The [git directory](dir-vs-gitdir.md) path
19
20
* @param {string} args.ref - What to name the tag
20
21
* @param {string} [args.message = ref] - The tag message to use.
21
22
* @param {string} [args.object = 'HEAD'] - The SHA-1 object id the tag points to. (Will resolve to a SHA-1 object id if value is a ref.) By default, the commit object which is referred by the current `HEAD` is used.
@@ -49,7 +50,7 @@ export async function annotatedTag({
* @param {string} args.dir - The [working tree](dir-vs-gitdir.md) directory path
21
-
* @param {string} [args.gitdir=join(dir,'.git')] - [required] The [git directory](dir-vs-gitdir.md) path
22
+
* @param {string} [args.gitdir=joinSafe(dir,'.git')] - [required] The [git directory](dir-vs-gitdir.md) path
22
23
* @param {string} args.url - The URL of the remote repository
23
24
* @param {string} [args.corsProxy] - Optional [CORS proxy](https://www.npmjs.com/%40isomorphic-git/cors-proxy). Value is stored in the git config file for that repo.
24
25
* @param {string} [args.ref] - Which branch to checkout. By default this is the designated "main branch" of the repository.
0 commit comments