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

Mani init fails when CWD is a git repository #78

Open
3 of 11 tasks
mrjk opened this issue Sep 13, 2023 · 0 comments
Open
3 of 11 tasks

Mani init fails when CWD is a git repository #78

mrjk opened this issue Sep 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mrjk
Copy link

mrjk commented Sep 13, 2023

  • I have the latest version of mani
  • I have searched through the existing issues

Info

  • OS

    • Linux
    • Mac OS X
    • Windows
    • other
  • Shell

    • Bash
    • Zsh
    • Fish
    • Powershell
    • other
  • Version:
Version: 0.23.0    
Commit: 83b2ffb   
Date: 2022-12-31T11:24:08Z

Problem / Steps to reproduce

Let's assume test_dir is a dir with a lots of git repos. Let's assume we want test_dir to be a git repository itself, with a nice README.md explaining how to checkout included repos:

cd test_dir
git init .
mani init
error: exit status 1

You can't init many, it returns an error.

Workaround: Move temporarly the .git folder to TMP_GIT, do the mani init and rename TMP_GIT to .git again.

@mrjk mrjk added the bug Something isn't working label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant