Compare commits

..

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

3 changed files with 7 additions and 19 deletions

View File

@ -1,15 +1,3 @@
## [v0.3.8] - 2026-03-31
Bumping to v0.3.8 with git tweaks and doc updates.
### Added
- Add changelog entry for v0.3.7.
### Changed
- Update version to 0.3.8 in README installation instructions.
- Update bash and powershell scripts to reference new release version.
- Update git diff command to prefer remote origin/base branch.
- Fall back to local base branch if remote diff fails or is empty.
## [v0.3.7] - 2026-03-31 ## [v0.3.7] - 2026-03-31
Version v0.3.7: Patchin' up git diffs because exit codes shouldn't be drama queens. Version v0.3.7: Patchin' up git diffs because exit codes shouldn't be drama queens.

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.8 export VERSION=0.3.7
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.8" $env:VERSION="0.3.7"
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.8 export VERSION=0.3.7
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.8" $env:VERSION="0.3.7"
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
``` ```

View File

@ -26,10 +26,10 @@ func init() {
func runPRDescribe(cmd *cobra.Command, _ []string) { func runPRDescribe(cmd *cobra.Command, _ []string) {
base, _ := cmd.Flags().GetString("base") base, _ := cmd.Flags().GetString("base")
// Prefer remote (more likely up-to-date for PRs), fallback to local. // Prefer local base, fallback to origin/<base>.
diff, err := gitDiff([]string{"diff", fmt.Sprintf("origin/%s..HEAD", base), "--no-color"}) diff, err := gitDiff([]string{"diff", fmt.Sprintf("%s..HEAD", base), "--no-color"})
if err != nil || strings.TrimSpace(diff) == "" { if err != nil || strings.TrimSpace(diff) == "" {
diff, err = gitDiff([]string{"diff", fmt.Sprintf("%s..HEAD", base), "--no-color"}) diff, err = gitDiff([]string{"diff", fmt.Sprintf("origin/%s..HEAD", base), "--no-color"})
if err != nil { if err != nil {
color.Red("Failed to get branch diff: %v", err) color.Red("Failed to get branch diff: %v", err)
return return