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 mob does not work in nested directories #25

Closed
regisbsb opened this issue May 25, 2018 · 3 comments
Closed

Git mob does not work in nested directories #25

regisbsb opened this issue May 25, 2018 · 3 comments

Comments

@regisbsb
Copy link

No description provided.

@steffinchen
Copy link
Contributor

When running 'git mob' not inside the root directory of a git repo but in a subfolder, it fails with the following message:
UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'C:\work\github\titan\web\.git\.gitmessage'

@rkotze
Copy link
Owner

rkotze commented Jun 1, 2018

Which version of git-mob are you using? This is fixed in the latest version.

@Sarabadu
Copy link
Contributor

Sarabadu commented Jun 1, 2018

there is a problem with the git version.
since 2.13 git rev-parse -git-path return the relative directory

but older versions of git return only the url from the git root path
made a pull request with this fix evaluating the git version
#29

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

4 participants