Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skills/poteto-mode/scripts/worktree-audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ git worktree list --porcelain | awk '/^worktree /{print $2}' | while read -r wt;
# followed by "/" or a quote so glint-482 does not match glint-482-r37.
last="-"; last_ts=0
if [ -d "$transcripts" ]; then
f=$(rg -l -e "${wt}/" -e "${wt}\"" "$transcripts" 2>/dev/null \
f=$(rg -l -a -e "${wt}/" -e "${wt}\"" "$transcripts" 2>/dev/null \

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matches #24's fix. just need proof this line now hits sessions.db from the installed copy.

| xargs stat -f '%m %N' 2>/dev/null | sort -rn | head -1)
if [ -n "$f" ]; then last_ts=$(echo "$f" | awk '{print $1}')
last=$(date -r "$last_ts" '+%Y-%m-%d' 2>/dev/null); fi
Expand Down
Loading