We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97493e5 commit 1787feeCopy full SHA for 1787fee
packages/opencode/src/project/project.ts
@@ -24,6 +24,7 @@ export namespace Project {
24
25
export async function fromDirectory(directory: string) {
26
log.info("fromDirectory", { directory })
27
+ const timer = log.time("git.rev-parse")
28
const git = await $`git rev-parse --absolute-git-dir`
29
.cwd(directory)
30
.text()
@@ -42,7 +43,6 @@ export namespace Project {
42
43
return project
44
}
45
let worktree = path.dirname(git)
- const timer = log.time("git.rev-parse")
46
let id = await Bun.file(path.join(git, "opencode"))
47
48
.then((x) => x.trim())
0 commit comments