Compare commits

..

No commits in common. "e0e110039630f5709665cb34bcc4fb1919508bfc" and "debcf94f2ecff77254927287f160d2454678fda3" have entirely different histories.

2 changed files with 4 additions and 21 deletions

View File

@ -1,20 +1,3 @@
## [v0.3.7] - 2026-03-31
Version v0.3.7: Patchin' up git diffs because exit codes shouldn't be drama queens.
### Added
- Introduce `gitDiff` variable as a mockable wrapper for `git.Diff`.
- Introduce git.Diff function that uses CombinedOutput and treats exit code 1 as success.
### Changed
- Update tests to use `withMockGitDiff` for injecting diff mocks.
- Tweak flag description for clarity.
- Update prdescribe command to use git.Diff and trim whitespace when checking for empty diffs.
- Enhance prdescribe output to include base branch in the status message.
- Update installation and download scripts in README.md to reference v0.3.7.
### Fixed
- Improve diff handling to tolerate exit code 1.
## [v0.3.6] - 2026-03-30 ## [v0.3.6] - 2026-03-30
### Fixed ### Fixed

View File

@ -19,13 +19,13 @@ Grokkit is a fast Go CLI integrating Grok AI with git workflows and general chat
**Bash (Linux/macOS):** **Bash (Linux/macOS):**
```bash ```bash
export VERSION=0.3.7 export VERSION=0.3.6
curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh | bash -s -- --verify curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh | bash -s -- --verify
``` ```
**PowerShell (Windows):** **PowerShell (Windows):**
```pwsh ```pwsh
$env:VERSION="0.3.7" $env:VERSION="0.3.6"
irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 | iex irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 | iex
``` ```
@ -40,7 +40,7 @@ Both installers feature:
**Bash (Linux/macOS):** **Bash (Linux/macOS):**
```bash ```bash
export VERSION=0.3.7 export VERSION=0.3.6
curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh -o grokkit-install.sh curl -fsSL https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v${VERSION}/grokkit-install.sh -o grokkit-install.sh
bash grokkit-install.sh --verify bash grokkit-install.sh --verify
``` ```
@ -48,7 +48,7 @@ bash grokkit-install.sh --verify
**PowerShell (Windows):** **PowerShell (Windows):**
```pwsh ```pwsh
$env:VERSION="0.3.7" $env:VERSION="0.3.6"
irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 -OutFile grokkit-install.ps1 irm https://repos.gmgauthier.com/gmgauthier/grokkit/releases/download/v$env:VERSION/grokkit-install.ps1 -OutFile grokkit-install.ps1
.\grokkit-install.ps1 -Verify .\grokkit-install.ps1 -Verify
``` ```