Skip to content

Broken after upgrade to 6.4.0 #986

@baurmatt

Description

@baurmatt

Hey,

after upgrading from 6.3.0 to 6.4.0 git-extras (git bulk) is reproducible broken for me:

Preperation

$ mkdir /tmp/foo

$ cd /tmp/foo/

$ git clone https://github.com/terraform-aws-modules/terraform-aws-vpc
Cloning into 'terraform-aws-vpc'...
remote: Enumerating objects: 2391, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 2391 (delta 4), reused 12 (delta 3), pack-reused 2376
Receiving objects: 100% (2391/2391), 883.17 KiB | 7.18 MiB/s, done.
Resolving deltas: 100% (1469/1469), done.

$ git clone https://github.com/terraform-aws-modules/terraform-aws-eks
Cloning into 'terraform-aws-eks'...
remote: Enumerating objects: 4919, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 4919 (delta 97), reused 102 (delta 57), pack-reused 4759
Receiving objects: 100% (4919/4919), 1.75 MiB | 7.30 MiB/s, done.
Resolving deltas: 100% (3253/3253), done.

6.3.0

git-extras installed from a private tap

$ brew install [email protected]
Warning: No remote 'origin' in /opt/homebrew/Library/Taps/mbaur/homebrew-git-extras, skipping update!
==> Downloading https://github.com/tj/git-extras/archive/6.3.0.tar.gz
Already downloaded: /Users/mbaur/Library/Caches/Homebrew/downloads/ae2967174dfe1011b36308f136041c1e64ca35cdce24d8fc12ee8eb23b76e385--git-extras-6.3.0.tar.gz
==> Installing [email protected] from mbaur/git-extras
==> make PREFIX=/opt/homebrew/Cellar/[email protected]/6.3.0 INSTALL_VIA=brew install
==> Caveats
To load Zsh completions, add the following to your .zshrc:
  source /opt/homebrew/opt/[email protected]/share/[email protected]/git-extras-completion.zsh

Bash completion has been installed to:
  /opt/homebrew/etc/bash_completion.d
==> Summary
🍺  /opt/homebrew/Cellar/[email protected]/6.3.0: 149 files, 362.4KB, built in 2 seconds
==> Running `brew cleanup [email protected]`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

$ git extras --version
6.3.0

$ cd /tmp/foo/

$ git bulk --addcurrent foo

$ git bulk status
Core command "status" accepted.
Executing bulk operation in workspace /tmp/foo
Current repository: /terraform-aws-vpc
-> executing git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
Current repository: /terraform-aws-eks
-> executing git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

6.4.0

$ brew uninstall [email protected]
Uninstalling /opt/homebrew/Cellar/[email protected]/6.3.0... (149 files, 362.4KB)

$ brew install git-extras
Warning: No remote 'origin' in /opt/homebrew/Library/Taps/mbaur/homebrew-git-extras, skipping update!
==> Downloading https://ghcr.io/v2/homebrew/core/git-extras/manifests/6.4.0
Already downloaded: /Users/mbaur/Library/Caches/Homebrew/downloads/425d2daf2dd69f9ba24f68391b7aed7777378e95bd478a3250f9c74d75d39bb8--git-extras-6.4.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/git-extras/blobs/sha256:75cbcd4fe8ad39801a46a6abadc8831aaacdb0bbf6f65eccc190c65c8b220985
Already downloaded: /Users/mbaur/Library/Caches/Homebrew/downloads/42b49c17842807145ab2287b224f86305ef0ba174b485e82dc957ba7ab9b4969--git-extras--6.4.0.all.bottle.tar.gz
==> Pouring git-extras--6.4.0.all.bottle.tar.gz
==> Caveats
To load Zsh completions, add the following to your .zshrc:
  source /opt/homebrew/opt/git-extras/share/git-extras/git-extras-completion.zsh

Bash completion has been installed to:
  /opt/homebrew/etc/bash_completion.d
==> Summary
🍺  /opt/homebrew/Cellar/git-extras/6.4.0: 153 files, 386.7KB
==> Running `brew cleanup git-extras`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

$ git extras --version
6.4.0

$ git bulk status
Core command "status" accepted.
/tmp/foo
/tmp/foo
error: you are not in a workspace directory. your registered workspaces are:
bulkworkspaces.foo /tmp/foo

$ pwd
/tmp/foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions