Commit graph

1207 commits

Author SHA1 Message Date
Masayuki Matsuki d014ab3965
Merge pull request #508 from mcha-forks/master
Some checks are pending
integration / test (push) Waiting to run
tagpr / tagpr (push) Waiting to run
feat(completion): update fish completions
2026-06-11 00:32:45 +09:00
Zephyr Lykos d968bd3e48
feat(completion): update fish completions 2026-05-28 10:25:37 +08:00
Masayuki Matsuki f0ea1c9648
Merge pull request #499 from x-motemen/dependabot/go_modules/golang.org/x/net-0.54.0
chore(deps): bump golang.org/x/net from 0.53.0 to 0.54.0
2026-05-12 11:21:52 +09:00
dependabot[bot] 39912f3fe5
chore(deps): bump golang.org/x/net from 0.53.0 to 0.54.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.53.0 to 0.54.0.
- [Commits](https://github.com/golang/net/compare/v0.53.0...v0.54.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 02:11:37 +00:00
Masayuki Matsuki 687e7ae85c
Merge pull request #500 from x-motemen/dependabot/go_modules/golang.org/x/text-0.37.0
chore(deps): bump golang.org/x/text from 0.36.0 to 0.37.0
2026-05-12 11:10:26 +09:00
Masayuki Matsuki 182ca13043
Merge pull request #501 from x-motemen/dependabot/github_actions/crate-ci/typos-1.46.1
chore(deps): bump crate-ci/typos from 1.45.0 to 1.46.1
2026-05-12 11:10:13 +09:00
Masayuki Matsuki 83b68bdfbb
Merge pull request #498 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.19.0
chore(deps): bump Songmu/tagpr from 1.18.2 to 1.19.0
2026-05-12 11:09:53 +09:00
Masayuki Matsuki e1bf2f7a47
Merge pull request #495 from x-motemen/dependabot/go_modules/github.com/mattn/go-isatty-0.0.22
chore(deps): bump github.com/mattn/go-isatty from 0.0.21 to 0.0.22
2026-05-12 11:09:39 +09:00
dependabot[bot] d602bc06b3
chore(deps): bump crate-ci/typos from 1.45.0 to 1.46.1
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.45.0 to 1.46.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](02ea592e44...5374cbf686)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 12:55:36 +00:00
dependabot[bot] 1307087804
chore(deps): bump golang.org/x/text from 0.36.0 to 0.37.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.36.0...v0.37.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 12:55:33 +00:00
dependabot[bot] 5f27c38fab
chore(deps): bump Songmu/tagpr from 1.18.2 to 1.19.0
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](84850af451...555e72cee6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 12:55:24 +00:00
dependabot[bot] d91aa22c47
chore(deps): bump github.com/mattn/go-isatty from 0.0.21 to 0.0.22
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.21 to 0.0.22.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.21...v0.0.22)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-version: 0.0.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 10:37:38 +00:00
Masayuki Matsuki 4f1c46dec6
Merge pull request #487 from x-motemen/dependabot/go_modules/github.com/urfave/cli/v3-3.8.0
chore(deps): bump github.com/urfave/cli/v3 from 3.7.0 to 3.8.0
2026-04-19 21:18:06 +09:00
Masayuki Matsuki 9e24f0b0c2
Merge pull request #484 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.18.2
chore(deps): bump Songmu/tagpr from 1.18.1 to 1.18.2
2026-04-19 21:17:49 +09:00
Masayuki Matsuki 7c228ec3ce
Merge pull request #486 from x-motemen/dependabot/go_modules/github.com/mattn/go-isatty-0.0.21
chore(deps): bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21
2026-04-19 21:17:30 +09:00
dependabot[bot] 88811c2645
chore(deps): bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.20 to 0.0.21.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.20...v0.0.21)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-version: 0.0.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-19 08:37:19 +00:00
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
dependabot[bot] 439da3bd1d
chore(deps): bump Songmu/tagpr from 1.18.1 to 1.18.2
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](9d0f650553...84850af451)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 09:51:15 +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