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 meta push doesn't work with local filesystem #694

Open
jhedwardyang opened this issue Feb 22, 2019 · 3 comments
Open

git meta push doesn't work with local filesystem #694

jhedwardyang opened this issue Feb 22, 2019 · 3 comments

Comments

@jhedwardyang
Copy link
Contributor

git init foo
git init bar
cd foo
touch .gitmodules
git add .gitmodules
git commit -m 'first commit'
git meta push ../bar HEAD:refs/heads/tmp

Expected: (try running with "meta" to find this output)

Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 214 bytes | 214.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To ../bar
 * [new branch]      HEAD -> tmp

Actual:

[master (root-commit) 0000000] first commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 .gitmodules
No remote named ../bar.
@jhedwardyang
Copy link
Contributor Author

Also doesn't work with a full file URL

$ git push file:///home/edy/tmp/bar HEAD:refs/heads/foobar
Total 0 (delta 0), reused 0 (delta 0)
To file:///home/edy/tmp/bar
 * [new branch]      HEAD -> foobar
$ git meta push file:///home/edy/tmp/bar HEAD:refs/heads/foobar
No remote named file:///home/edy/tmp/bar.

@jhdub23
Copy link
Contributor

jhdub23 commented Sep 5, 2019

This doesn't seem like valid usage. There is no submodule structure to begin with.

@abliss
Copy link
Contributor

abliss commented Sep 5, 2019 via email

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

3 participants