Commit graph

1190 commits

Author SHA1 Message Date
dependabot[bot] 336b7790d3
chore(deps): bump github.com/urfave/cli/v3 from 3.7.0 to 3.8.0
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v3
  dependency-version: 3.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-19 08:37:16 +00:00
Masayuki Matsuki 112f9b2a9d
Merge pull request #485 from x-motemen/dependabot/go_modules/golang.org/x/net-0.53.0
chore(deps): bump golang.org/x/net from 0.52.0 to 0.53.0
2026-04-19 17:36:16 +09:00
Masayuki Matsuki bbe6528a13
Merge pull request #489 from nurazon59/test/fix-rm-command-noop
fix(test): exercise `ghq rm` in command tests
2026-04-19 17:35:25 +09:00
Masayuki Matsuki 5c17f32b34
Merge pull request #490 from sciencesakura/improve-bash-completions
feat(completion): improve bash completions.
2026-04-19 17:33:59 +09:00
sciencesakura 4e51d4d660 fix(completion): does not suggest repositories after the --branch option 2026-04-19 14:50:12 +09:00
nurazon59 b9fd98e162 fix(test): run ghq rm dry-run test cases 2026-04-18 22:10:56 +09:00
sciencesakura e3f7e3d035 feat(completion): improve bash completions.
Now, all commands and options are available.
2026-04-18 17:45:28 +09:00
sciencesakura 41e6d08a74 style(completion): format misc/bash/_ghq. 2026-04-18 16:36:06 +09:00
nurazon59 9201500760 fix(test): add testcase and fix testcase 2026-04-16 01:13:35 +09:00
nurazon59 f6b96648d8 fix(test): Fix rm command tests to exercise command execution 2026-04-16 01:04:35 +09:00
dependabot[bot] 0a809d8b51
chore(deps): bump golang.org/x/net from 0.52.0 to 0.53.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.52.0 to 0.53.0.
- [Commits](https://github.com/golang/net/compare/v0.52.0...v0.53.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 09:51:19 +00:00
Masayuki Matsuki f600896542
Merge pull request #483 from x-motemen/tagpr-from-v1.10.0 2026-04-11 23:37:22 +09:00
github-actions[bot] 500a99a5e9
[tagpr] update CHANGELOG.md 2026-04-11 14:14:09 +00:00
github-actions[bot] f51d964aa9
[tagpr] prepare for the next release 2026-04-11 14:14:08 +00:00
Masayuki Matsuki 3b1f4ad5a1
Merge pull request #481 from chris-monardo/chrism/rm-worktree
feat(rm): make ghq rm worktree-aware
2026-04-11 23:13:46 +09:00
Chris Monardo 1ce2e915fb address comments 2026-04-11 07:45:04 -04:00
Masayuki Matsuki 8506f1f526
Return an error instead of logging it when failing to delete the worktree.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-11 16:59:05 +09:00
Masayuki Matsuki ec14d34d39
Merge pull request #455 from x-motemen/tagpr-from-v1.9.4
Release for v1.10.0
2026-04-09 17:36:23 +09:00
github-actions[bot] b6ab1e9a45
[tagpr] update CHANGELOG.md 2026-04-09 07:41:23 +00:00
github-actions[bot] 12ffcb2d6c
[tagpr] prepare for the next release 2026-04-09 07:41:22 +00:00
Masayuki Matsuki 385a9940bb
Merge pull request #457 from KeitaShimura/feature/get-print-flag
feat(get): output local repository path to stdout
2026-04-09 16:40:57 +09:00
Chris Monardo 8a99bf1670 Make ghq rm worktree-aware
ghq rm previously used os.RemoveAll with no worktree awareness, which
caused two problems: removing a linked worktree left a dangling entry
in the parent repo's .git/worktrees/, and removing a repo that had
linked worktrees orphaned all of them.

Now ghq rm detects both scenarios:
- If the target is a linked worktree, use git worktree remove to
  properly unregister it from the parent repo.
- If the target repo has linked worktrees, prune each one before
  removing the main repo.

Extract shared worktree helpers into worktree.go so both cmd_rm.go
and cmd_migrate.go can reuse them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 02:57:37 -04:00
KeitaShimura 435ed0ec87 feat: remove --print flag and print local path by default 2026-04-09 15:24:09 +09:00
Masayuki Matsuki 723bf49fd6
Merge branch 'master' into feature/get-print-flag 2026-04-08 14:10:13 +09:00
Masayuki Matsuki c33ed436cf
Merge pull request #479 from x-motemen/dependabot/github_actions/crate-ci/typos-1.45.0
chore(deps): bump crate-ci/typos from 1.44.0 to 1.45.0
2026-04-08 14:03:31 +09:00
Masayuki Matsuki c1ee89a04f
Merge pull request #476 from x-motemen/dependabot/github_actions/codecov/codecov-action-6.0.0
chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0
2026-04-08 14:03:18 +09:00
Masayuki Matsuki 43600f28a6
Merge pull request #477 from x-motemen/dependabot/github_actions/reviewdog/action-actionlint-1.72.0
chore(deps): bump reviewdog/action-actionlint from 1.71.0 to 1.72.0
2026-04-08 14:02:43 +09:00
Masayuki Matsuki d25a363d0a
Merge pull request #475 from x-motemen/dependabot/github_actions/actions/setup-go-6.4.0
chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0
2026-04-08 14:02:27 +09:00
Masayuki Matsuki 6a0021954f
Merge pull request #473 from hezhizhen/upgrade-cli
Update urfave/cli/v2 to v3
2026-04-08 13:59:45 +09:00
Songmu d45b3d0e95
fix test.yaml 2026-04-08 13:55:32 +09:00
Masayuki Matsuki bdace9708d
Merge pull request #472 from sciencesakura/support-default-host
feat(get): add `ghq.defaultHost` config to resolve the default host.
2026-04-08 13:53:58 +09:00
Masayuki Matsuki d284552480
Merge pull request #478 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.18.1
chore(deps): bump Songmu/tagpr from 1.17.1 to 1.18.1
2026-04-08 13:50:35 +09:00
Masayuki Matsuki a8c8f050e9
Merge pull request #469 from nurazon59/feat/completion-ghq-rm-list
feat(completion): add ghq list completion to ghq rm in fish/zsh
2026-04-08 13:50:08 +09:00
dependabot[bot] bdf5b4c80c
chore(deps): bump crate-ci/typos from 1.44.0 to 1.45.0
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](631208b7aa...02ea592e44)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:31:29 +00:00
dependabot[bot] 54915f57a6
chore(deps): bump Songmu/tagpr from 1.17.1 to 1.18.1
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.17.1 to 1.18.1.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](b3fb894246...9d0f650553)

---
updated-dependencies:
- dependency-name: Songmu/tagpr
  dependency-version: 1.18.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:31:20 +00:00
dependabot[bot] 9c3659fffe
chore(deps): bump reviewdog/action-actionlint from 1.71.0 to 1.72.0
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.71.0 to 1.72.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](0d952c597e...6fb7acc99f)

---
updated-dependencies:
- dependency-name: reviewdog/action-actionlint
  dependency-version: 1.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:31:15 +00:00
dependabot[bot] 03b8efaa81
chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.2 to 6.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](671740ac38...57e3a136b7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 09:45:57 +00:00
dependabot[bot] bd68bf70aa
chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4b73464bb3...4a3601121d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 09:45:51 +00:00
Zhizhen He 3425b00fbc Enable suggest 2026-03-19 14:54:00 +08:00
Zhizhen He 7dff4b0aa8 Update urfave/cli/v2 to v3 2026-03-19 14:16:12 +08:00
sciencesakura 8b888f0737 docs: add a description of the ghq.defaultHost config. 2026-03-19 00:41:52 +09:00
sciencesakura c042fa4d99 feat(get): add ghq.defaultHost config to resolve the default host. 2026-03-19 00:16:13 +09:00
nurazon59 f0d52d2307 feat(completion): add ghq list completion to ghq rm in fish/zsh
The fish and zsh completions for `ghq rm` were missing repository
name suggestions from `ghq list`, making it inconvenient to use.
2026-03-18 23:27:43 +09:00
Masayuki Matsuki c71ae6ae4b
Merge pull request #467 from x-motemen/dependabot/go_modules/golang.org/x/net-0.52.0
chore(deps): bump golang.org/x/net from 0.50.0 to 0.52.0
2026-03-17 10:34:37 +09:00
Masayuki Matsuki e3decba1c0
Merge pull request #458 from x-motemen/dependabot/github_actions/reviewdog/action-actionlint-1.71.0
chore(deps): bump reviewdog/action-actionlint from 1.70.0 to 1.71.0
2026-03-17 10:34:13 +09:00
Masayuki Matsuki 719b543464
Merge pull request #462 from x-motemen/dependabot/github_actions/crate-ci/typos-1.44.0
chore(deps): bump crate-ci/typos from 1.43.4 to 1.44.0
2026-03-17 10:33:53 +09:00
dependabot[bot] 8edf244e22
chore(deps): bump golang.org/x/net from 0.50.0 to 0.52.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.50.0 to 0.52.0.
- [Commits](https://github.com/golang/net/compare/v0.50.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-17 01:32:46 +00:00
Masayuki Matsuki fdc03b5080
Merge pull request #463 from x-motemen/dependabot/github_actions/actions/setup-go-6.3.0
chore(deps): bump actions/setup-go from 6.2.0 to 6.3.0
2026-03-17 10:32:20 +09:00
Masayuki Matsuki 54c751514b
Merge pull request #468 from x-motemen/dependabot/go_modules/golang.org/x/text-0.35.0
chore(deps): bump golang.org/x/text from 0.34.0 to 0.35.0
2026-03-17 10:31:06 +09:00
Masayuki Matsuki ed40ead1db
Merge pull request #461 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.17.1
chore(deps): bump Songmu/tagpr from 1.17.0 to 1.17.1
2026-03-17 10:30:49 +09:00