Release Notes
Fixed
- Annotated tags now peel to their target commit during ref resolution.
get_change_manifest, get_commit_history, get_file_snapshots, and the shim's git diff / git log / git show interception previously failed on annotated-tag refs with the error was supposed to be of kind commit, but was kind tag. Ref resolution now peels tag objects to their target commit, so diffing or showing tagged releases (e.g. v0.8.0..v0.9.0) works. (#337)
- Shim now passes through scripted-output git invocations. When
git show, git log, or git diff is called with flags that request formatted text output (--format=, --pretty=, --pretty, -s, --no-patch, --porcelain, --stat, -z), the shim forwards the call to real git instead of returning a JSON manifest. This fixes git show -s --format=%ct HEAD silently returning a change-manifest JSON payload instead of the expected epoch integer. (#338)
Added
- Enriched
git show <ref> response. The shim's git show <sha> handler now returns a ShowManifestResponse with structured commit metadata (commit.sha, commit.short_sha, commit.parents, commit.author, commit.committer, commit.subject, commit.body) and a top-level diffstat object (files_changed, insertions, deletions). JSON-aware callers no longer need to parse git text output to get per-commit author, timestamp, or diffstat data. (#338)
Install git-prism 0.9.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mikelane/git-prism/releases/download/v0.9.1/git-prism-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/mikelane/git-prism/releases/download/v0.9.1/git-prism-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install mikelane/tap/git-prism
Download git-prism 0.9.1