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

Failed to sync with local git daemon #89

Closed
AltGr opened this issue Jun 20, 2015 · 2 comments
Closed

Failed to sync with local git daemon #89

AltGr opened this issue Jun 20, 2015 · 2 comments

Comments

@AltGr
Copy link
Contributor

AltGr commented Jun 20, 2015

server side (using a bare clone made with ocaml-git, but same results from a "normal" git clone)

$ git daemon --reuseaddr --base-path=. --export-all --verbose --export-all ./.git
[26000] Ready to rumble
[26100] Connection from 127.0.0.1:54999
[26100] Extended attributes (16 bytes) exist <host=localhost>
[26100] Request upload-pack for ''
[26100] '': aliased
[26000] [26100] Disconnected (with error)

Client side:

2015-06-20 13:19:59.529 sync         ERROR: input: the payload doesn't have a trailing LF
Check failed: Sync.Make(IO)(Store).Error

I'm using GitStore = Git_unix.FS and GitSync = Git_unix.Sync.Make(GitStore)

@AltGr
Copy link
Contributor Author

AltGr commented Jun 20, 2015

Ah, sorry, I just needed to use Git.Gri.of_string "git://localhost/" rather than "git://localhost"

@AltGr AltGr closed this as completed Jun 20, 2015
@samoht samoht reopened this Jun 22, 2015
@samoht
Copy link
Member

samoht commented Jun 22, 2015

Re-opening as this should be fixed properly!

@samoht samoht closed this as completed in 93e23ce Jun 30, 2015
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

2 participants