diff options
| author | 2026-03-26 09:19:01 +0000 | |
|---|---|---|
| committer | 2026-03-26 09:19:01 +0000 | |
| commit | 929b8cc620abca70b3444b09be5249f6c6cb7812 (patch) | |
| tree | 29b1edba8f597d09a2a51a6b2c901389cc40e242 /ref/name/current.go | |
| parent | format: Move commitgraph and packfile here (diff) | |
| signature | No signature | |
ref/name: Rename from ref/refname
Diffstat (limited to 'ref/name/current.go')
| -rw-r--r-- | ref/name/current.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ref/name/current.go b/ref/name/current.go new file mode 100644 index 00000000..3a5394cc --- /dev/null +++ b/ref/name/current.go @@ -0,0 +1,5 @@ +package refname + +func isCurrentWorktreeRef(name string) bool { + return IsRootSyntax(name) || IsPerWorktree(name) +} |
