Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

Git error on binded folder.: unable to write sha1 filename #30

Closed
orlleite opened this issue Feb 8, 2018 · 1 comment
Closed

Git error on binded folder.: unable to write sha1 filename #30

orlleite opened this issue Feb 8, 2018 · 1 comment

Comments

@orlleite
Copy link

orlleite commented Feb 8, 2018

Hi, That's great project and I'm liking it.

I got a sdcard/storage bind folder using a file inside the binds folder. It looks like this:

command+=" -b $HOME/storage/downloads"
command+=" -b $HOME/storage/shared/Projects"

It's working except when I'm trying to use git clone inside one of these folders. I got an error
error: unable to write sha1 filename /data/data/com.termux/files/home/storage/shared/Projects/....pack: No such file or directory fatal: cannot store pack file fatal: index-pack failed

If I git clone out of these binded folders, I can have a working repo, but when I move it to one of these folders I got many lines like this:
mv: preserving times for 'projects/.../.git/branches': Operation not permitted

And after it, git thinks I had changed some files of this repository. The way I found to workaround it was git clone at termux terminal and only after that starting ubuntu. I didn't test if pull/push is working yet. I think this other project has something relate to this problem https://github.com/corbinlc/GNURootDebian/issues/105.

@Neo-Oli
Copy link
Owner

Neo-Oli commented Feb 8, 2018 via email

@Neo-Oli Neo-Oli closed this as completed Mar 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants