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

directory not accessible after merge from remote #1612

Open
aklt opened this issue Dec 6, 2019 · 0 comments
Open

directory not accessible after merge from remote #1612

aklt opened this issue Dec 6, 2019 · 0 comments

Comments

@aklt
Copy link

aklt commented Dec 6, 2019

I am trying to merge a remote that refers to a different repository into
the current GVFS enabled repo, but after merging the src/ directory
becomes inaccessible and it is not possible to list or cd to this dir.

Here is what I have done:

$ gvfs clone https://myserver.xx/Sandbox/_git/foo
Clone parameters:
  Repo URL:     https://myserver.xx/Sandbox/_git/foo
  Branch:       Default
  Cache Server: Default
  Local Cache:  C:\.gvfsCache
  Destination:  C:\git\foo
Authenticating...Succeeded
Querying remote for config...Succeeded
Using cache server: None (https://myserver.xx/Sandbox/_git/foo)
Cloning...Succeeded
Fetching commits and trees from origin (no cache server)...Succeeded
Attaching ProjFS to volume...Succeeded
Validating repo...Succeeded
Mounting...Succeeded
Registering for automount...Succeeded
$ cd ./foo/src
$ git remote add -f upstream //net.xx/git/repo.git
Updating upstream
warning: no common commits
remote: Enumerating objects: 1878, done.
remote: Counting objects: 100% (1878/1878), done.
remote: Compressing objects: 100% (661/661), done.
Receiving objects:  90% (1691remote: Total 1878 (delta 1199), reused 1848 (delta 1198)
Receiving objects: 100% (1878/1878), 1.82 MiB | 5.85 MiB/s, done.
Resolving deltas: 100% (1199/1199), done.
From //net.xx/git/repo.git
... (branches)
$ git merge upstream/master --allow-unrelated-histories
CONFLICT (add/add): Merge conflict in .gitignore
Auto-merging .gitignore
Automatic merge failed; fix conflicts and then commit the result.

At this point the last git command never returns. I can taskkill the
git process but afterwards I cannot list contents of src. It is also
not possible to list the contents of C:\git\foo\src from another terminal
cmd or Git bash.

I am unsure how to proceed in finding out what goes wrong here,
any help would be appreciated!

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