Commit graph

1147 commits

Author SHA1 Message Date
sciencesakura c042fa4d99 feat(get): add ghq.defaultHost config to resolve the default host. 2026-03-19 00:16:13 +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
dependabot[bot] c25ed1ad70
chore(deps): bump golang.org/x/text from 0.34.0 to 0.35.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.34.0...v0.35.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 09:39:50 +00:00
Masayuki Matsuki ed918b5315
Merge pull request #465 from upft-kengotate/fix/zsh-completion
Update zsh completion to match current commands and flags
2026-03-04 11:01:27 +09:00
CC 舘 謙吾 c9d0ca0ad1 Update zsh completion to match current commands and flags
- Add ghq-dev to #compdef for development build completion
- Add rm and migrate to command list
- Add missing --bare flag to list, rm, and create subcommands
- Add migrate subcommand completion with directory completion

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-03 16:24:46 +09:00
dependabot[bot] ffd505d1a5
chore(deps): bump actions/setup-go from 6.2.0 to 6.3.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](7a3fe6cf4c...4b73464bb3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:55:53 +00:00
dependabot[bot] 57f0bc66e7
chore(deps): bump crate-ci/typos from 1.43.4 to 1.44.0
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.43.4 to 1.44.0.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](78bc6fb2c0...631208b7aa)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:55:47 +00:00
dependabot[bot] be2ccb10b3
chore(deps): bump Songmu/tagpr from 1.17.0 to 1.17.1
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](da82ed6743...b3fb894246)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:55:36 +00:00
dependabot[bot] c5d8347d7b
chore(deps): bump reviewdog/action-actionlint from 1.70.0 to 1.71.0
Bumps [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/reviewdog/action-actionlint/releases)
- [Commits](e58ee9d111...0d952c597e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 09:59:54 +00:00
Songmu 531d4f1a5f
update 2026-02-17 17:24:34 +09:00
Masayuki Matsuki 39ead659b5
Merge pull request #453 from x-motemen/tagpr-from-v1.9.3
Release for v1.9.4
2026-02-17 16:47:37 +09:00
github-actions[bot] 2cf21aeacb
[tagpr] update CHANGELOG.md 2026-02-17 07:40:37 +00:00
github-actions[bot] 216dc5de57
[tagpr] prepare for the next release 2026-02-17 07:40:36 +00:00
Masayuki Matsuki 98d4faa146
Merge pull request #454 from x-motemen/copilot/fix-github-actions-workflow-test
Fix Windows worktree migration failure: normalize Git path separators
2026-02-17 16:40:12 +09:00
copilot-swe-agent[bot] 46be3fa40c Fix worktree migration path handling on Windows
The repairWorktreeBackPointers function was failing to detect internal
worktrees on Windows because Git writes paths with forward slashes in
gitdir files, but the code was comparing them with backslash paths.

- Normalize oldDir to forward slashes for comparison
- Normalize wtPath read from gitdir file for comparison
- Write updated gitdir with forward slashes (Git's format)
- Fix wtDir trimming to use forward slash separator

This fixes both the back-pointer repair and the paths passed to
'git worktree repair' on Windows.

Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-17 07:30:11 +00:00
copilot-swe-agent[bot] a12656da90 Fix Windows worktree test by normalizing path separators
Git on Windows uses forward slashes in .git files, even though Windows
uses backslashes. Use filepath.ToSlash() to normalize paths for comparison
in the worktree migration tests.

Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-17 06:54:43 +00:00
copilot-swe-agent[bot] d82dd80f86 Initial plan 2026-02-17 06:51:24 +00:00
Masayuki Matsuki 73d8a79b05
Merge pull request #452 from x-motemen/dependabot/github_actions/Songmu/tagpr-1.17.0
chore(deps): bump Songmu/tagpr from 1.15.0 to 1.17.0
2026-02-17 15:43:48 +09:00
Masayuki Matsuki 0c5582e422
Merge pull request #451 from x-motemen/dependabot/github_actions/crate-ci/typos-1.43.4
chore(deps): bump crate-ci/typos from 1.43.3 to 1.43.4
2026-02-17 15:43:28 +09:00
Masayuki Matsuki 8f58aeffe0
Merge pull request #449 from atusy/feat-git-migrate-be-aware-of-worktree-and-submodule
feat(migrate): make worktree and submodule aware
2026-02-17 15:43:11 +09:00
Masayuki Matsuki ea2820c4a6
Merge pull request #450 from yulog/apply-go-fix
apply go fix modernizations
2026-02-17 15:24:13 +09:00
dependabot[bot] d2c9c36798
chore(deps): bump Songmu/tagpr from 1.15.0 to 1.17.0
Bumps [Songmu/tagpr](https://github.com/songmu/tagpr) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/songmu/tagpr/releases)
- [Changelog](https://github.com/Songmu/tagpr/blob/main/CHANGELOG.md)
- [Commits](78a926ba83...da82ed6743)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-16 09:58:25 +00:00
dependabot[bot] f4db0e785e
chore(deps): bump crate-ci/typos from 1.43.3 to 1.43.4
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.43.3 to 1.43.4.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](9066e9940a...78bc6fb2c0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-16 09:58:15 +00:00
yulog cefa808653 chore: exec go fix ./... 2026-02-15 19:45:03 +09:00
atusy 32914e6738 chore(deps): go mod tidy 2026-02-15 18:54:55 +09:00
atusy 17a1d6216e feat(migrate): make worktree and submodule aware
The migrate command had no awareness of Git worktrees or submodules,
which are linked checkouts with a .git file referencing a parent repo.

This adds three capabilities:

- Detects linked checkouts (.git file with gitdir: reference) and
  refuses migration with a descriptive error, since moving them
  independently always breaks the link.

- After migrating a repo with linked worktrees, runs
  'git worktree repair' to update forward references (worktree .git
  files) back to the new main repo location.

- Handles internal worktrees (inside the repo directory) by rewriting
  stale back-pointers (.git/worktrees/*/gitdir) before repair, since
  both directions become stale when the worktree moves with the repo.
2026-02-15 18:54:31 +09:00
Masayuki Matsuki 7caa68bcd0
Merge pull request #448 from x-motemen/tagpr-from-v1.9.2
Release for v1.9.3
2026-02-14 16:58:42 +09:00
github-actions[bot] 936f79524f
[tagpr] update CHANGELOG.md 2026-02-14 07:56:05 +00:00
github-actions[bot] 1b4f893fad
[tagpr] prepare for the next release 2026-02-14 07:56:04 +00:00
Masayuki Matsuki d50c58368e
Merge pull request #446 from x-motemen/copilot/handle-cross-device-move-fallback
migrate: Handle cross-device move (EXDEV fallback)
2026-02-14 16:55:43 +09:00
copilot-swe-agent[bot] 483e6fd0b4 Replace custom copy implementation with otiai10/copy library
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 07:43:12 +00:00
Masayuki Matsuki c16d46e8bb
Update cmd_migrate_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-14 16:30:19 +09:00
Masayuki Matsuki 5bb07f7c74
Update cmd_migrate.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-14 16:30:02 +09:00
Masayuki Matsuki af48fe25ac
Update cmd_migrate.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-14 16:29:22 +09:00
copilot-swe-agent[bot] 92e49a0463 Add migrate command documentation to README.adoc
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 07:13:26 +00:00
copilot-swe-agent[bot] 344f570f5e Run goimports to fix formatting
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 07:10:26 +00:00
copilot-swe-agent[bot] 6a0a293e64
Add coverage.out to .gitignore and remove from tracking
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 16:05:38 +09:00
copilot-swe-agent[bot] ca5bd93797
Skip permission checks on Windows in cmd_migrate_test.go
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 16:05:38 +09:00
copilot-swe-agent[bot] e3f393527d
Initial plan 2026-02-14 16:05:38 +09:00
copilot-swe-agent[bot] d17d6c2257
Fix permission bits and add test error handling
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 16:05:38 +09:00
copilot-swe-agent[bot] 351082d1ed
Address code review feedback: improve error handling and permission bits
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 16:05:38 +09:00
copilot-swe-agent[bot] 875224e621
Add cross-device move support with EXDEV fallback
Co-authored-by: Songmu <177122+Songmu@users.noreply.github.com>
2026-02-14 16:05:38 +09:00
copilot-swe-agent[bot] c695205e97
Initial plan 2026-02-14 16:05:38 +09:00
Songmu 0661bf9429
Add Copilot instructions for Go development
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-14 16:04:43 +09:00