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

GitAdd has troubles with new directories #5

Open
kubaPod opened this issue Sep 28, 2017 · 0 comments
Open

GitAdd has troubles with new directories #5

kubaPod opened this issue Sep 28, 2017 · 0 comments

Comments

@kubaPod
Copy link

kubaPod commented Sep 28, 2017

V11.2 V11.1 Win7

Let's create a test repo:

<< GitLink`
dir = FileNameJoin[{$UserDocumentsDirectory, "Test2"}];
CreateDirectory[
    FileNameJoin[{dir, "sub"}], CreateIntermediateDirectories -> True
];
Export[
    FileNameJoin[{dir, "sub", "test.m"}], "Print@\"test\"", "Text"
];
repo = GitInit@dir;
GitStatus@repo
GitAdd[repo, All]

<|"New" -> {"sub\"}, ...|>
GitAdd::gitoperationfailed: A git operation failed with the message "Invalid path: 'sub/'".
{}

But if I run git add sub/ from a terminal, it works. Hope it is not another silly mistake I've made.

@kubaPod kubaPod changed the title GitAdd having troubles with new directories GitAdd has troubles with new directories Sep 29, 2017
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

1 participant