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

Submodule inside nested subdirectory -> mkdir fails #588

Open
netTrekSL opened this issue Aug 21, 2020 · 2 comments
Open

Submodule inside nested subdirectory -> mkdir fails #588

netTrekSL opened this issue Aug 21, 2020 · 2 comments
Labels
needs_testing Can't be confirmed at the moment, but more testing is needed to be sure.

Comments

@netTrekSL
Copy link

Bug

  • How to reproduce the issue?
    If you have a submodule nested inside a subdirectory the git ftp init command fails. Seems to me like mkdir would need the -p parameter to handle this. If you first create the subfolder by hand on the server it works.

  • Or can you describe the directory structure?

root
- thorn
  - themes
     - myTheme (submodule)
  • git ftp init -v output
[...]
Fri Aug 21 09:12:17 CEST 2020: Handling submodule sync for thorn/themes/myTheme.
[...]
curl: (78) Could not open directory for reading: No such file or directory    
Fri Aug 21 09:12:18 CEST 2020: Create ~/docker/thorn/themes/myTheme/
curl: (21) mkdir command failed: No such file or directory                    
Fri Aug 21 09:12:19 CEST 2020: fatal:  Can't access remote 'sftp://***:***@***.dev'. Network down? Wrong URL? exiting...
Fri Aug 21 09:12:19 CEST 2020: fatal: Failed to sync submodules.

Environment

/bin/zsh
Darwin macbook-pro-2.nettrek.int 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul  5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64
git-ftp version 1.6.0
@stale
Copy link

stale bot commented Nov 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have found a solution for this, it would be great if you could share it here to help others. Thank you for your question.

@stale stale bot added the stale label Nov 14, 2020
@stale
Copy link

stale bot commented Dec 12, 2020

This issue will get closed for now but please feel free to re-open it if you still have this problem with Git-ftp.

@stale stale bot closed this as completed Dec 12, 2020
@LukasFritzeDev LukasFritzeDev added the needs_testing Can't be confirmed at the moment, but more testing is needed to be sure. label Mar 21, 2021
@stale stale bot removed the stale label Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_testing Can't be confirmed at the moment, but more testing is needed to be sure.
Projects
None yet
Development

No branches or pull requests

2 participants