Repository navigation
v0.1.4
Bug fixes
rak <file>no longer crashes (#6). Previously, running rak against a single file crashed withLister: detect: fork/exec git: not a directorybecause the lister setcmd.Dirto the file path before probing git. The lister now recognizes regular files and returns a dedicatedSingleFileListerbefore any git operations. Output shape matches a directory walk with one file entry (label = user-supplied filename).- Symlinked walk-roots now work correctly (#6).
rak <symlink>could previously emit zero results becausefilepath.Absdoesn't resolve symlinks butgit rev-parse --show-topleveldoes — the prefix mismatch silently filtered out every path.Detectnow callsfilepath.EvalSymlinksbefore any stat or git probe so the resolved real path drives both checks. The same fix lets symlinked single-files work end-to-end.
Maintenance
- Six new tests in
internal/listerandcmd/rakcovering single files, symlinked files, symlinked directories, broken symlinks, and end-to-end single-file output. runDirectoryOptsstruct docstring reworded for accuracy.- README "Common invocations" gains a
rak CLAUDE.mdexample.
Full changelog: v0.1.3...v0.1.4