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

command 'gc' has no effect in parallel mode #54

Open
kyeongsoo opened this issue Feb 4, 2019 · 1 comment
Open

command 'gc' has no effect in parallel mode #54

kyeongsoo opened this issue Feb 4, 2019 · 1 comment
Labels

Comments

@kyeongsoo
Copy link

kyeongsoo commented Feb 4, 2019

First of all, great thanks for your providing this nice tool.
Thanks to mu-repo, now I can better manage multiple git repositories in a more systematic way.

The git command 'gc', however, seems to have no effects when running it by "mu gc" as shown below:

> mu gc

  Bin : git gc

  Learning : git gc

  Research : git gc

  dotFiles : git gc

  elisp : git gc 

Running 'gc' through git aliases throught the stackoverflow solution suggested by Jose Luis Blanco, however, result in the following:

> git all gc
Bin/.git
Counting objects: 65, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (47/47), done.
Writing objects: 100% (65/65), done.
Total 65 (delta 5), reused 65 (delta 5)

Learning/.git
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), done.
Total 6 (delta 0), reused 6 (delta 0)
...

Note that other git commands show the resulting messages unlike the 'gc'.

@fabioz
Copy link
Owner

fabioz commented Jun 30, 2020

Just wanted to say that it does work in serial mode:

i.e.:

mu set-var serial=1
mu gc

But not in parallel mode.

I don't really know why git gc fails in parallel mode (maybe git gc needs a real tty which is not available when working in parallel mode?).

@fabioz fabioz added the bug label Apr 8, 2021
@fabioz fabioz changed the title command 'gc' has no effect. command 'gc' has no effect in parallel mode Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants