Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-bulk does not work outside a git repository on Windows #805

Closed
roxchgt opened this issue Dec 5, 2019 · 2 comments
Closed

git-bulk does not work outside a git repository on Windows #805

roxchgt opened this issue Dec 5, 2019 · 2 comments

Comments

@roxchgt
Copy link
Contributor

roxchgt commented Dec 5, 2019

The main Intention of git-bulk is registering a directory which contains multiple git repositories as a workspace in order to run git operations on all those repos with one command. On Linux I have no issue with calling e.g. git bulk --listall or any other git-bulk function from anywhere on the system, even a non repo dir can be added as workspace. On Windows somehow it's not like that. Not only calling the git bulk doesn't work outside of a git repo, adding a non-git dir as workspace does not also work.
Message is: Not a git repo!

Anybody can reproduce this issue? Simply try to call git bulk <--any> from any dir which is not git repository...

@spacewander
Copy link
Collaborator

Need to change this line:

SET COMMANDS_WITHOUT_REPO=git-alias git-extras git-fork git-setup

https://github.com/tj/git-extras/blob/master/install.cmd#L107

We should read the command list from https://github.com/tj/git-extras/blob/master/not_need_git_repo instead of hard coding them.

@spacewander
Copy link
Collaborator

Solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants