Skip to content

feat(ssh): accept tags and commits for sh - #21

Merged
Xe merged 1 commit into
mainfrom
Xe/ssh-shell-accept-tags-commitlikes
Sep 24, 2026
Merged

Xe merged 1 commit into
mainfrom
Xe/ssh-shell-accept-tags-commitlikes

Conversation

@Xe

@Xe Xe commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Extend sh <repo> [revision] to accept branch names, tag names, full refs, and full commit hashes.
  • Peel annotated tags to commits and update the SSH usage hint and transport docs.

Details

The empty revision still selects the branch named by HEAD.

Test plan

  • Code compiles with go build ./...
  • Code formatted with npm run format
  • Manual testing
  • go test ./... ran from the commit hook and failed on existing suite failures. Concurrent test Git operations also changed this linked worktree; its branch and files were restored before the commit.

Let the SSH shell select a branch, tag, or commit hash. Peel annotated tags to the target commit so the sandbox can load its tree.

Assisted-by: GPT-6 via Codex
Signed-off-by: Test <test@example.com>
@Xe
Xe merged commit cc55047 into main Sep 24, 2026
8 checks passed
Xe pushed a commit that referenced this pull request Sep 24, 2026
# [1.13.0](v1.12.1...v1.13.0) (2026-09-24)

### Features

* **ssh:** accept tags and commits for sh ([#21](#21)) ([cc55047](cc55047))

Signed-off-by: Tigris Data <social@tigrisdata.com>
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants