Skip to content
This repository has been archived by the owner. It is now read-only.

Does IPFS support git merge strategies? #151

Closed
EtherTyper opened this issue Jul 29, 2016 · 8 comments
Closed

Does IPFS support git merge strategies? #151

EtherTyper opened this issue Jul 29, 2016 · 8 comments
Labels

Comments

@EtherTyper
Copy link

EtherTyper commented Jul 29, 2016

IPFS uses git to version files. Does this mean it supports using git's complex merge strategies like recursive and octopus to track files?

@EtherTyper
Copy link
Author

EtherTyper commented Aug 9, 2016

I believe someone can at @ipfs can mark this as answered by #156.

@EtherTyper
Copy link
Author

EtherTyper commented Aug 10, 2016

@RichardLitt Probably not. We should keep it for clarification, I think.

@RichardLitt
Copy link
Contributor

RichardLitt commented Aug 10, 2016

Sounds good. Decided to keep it, too (deleted a comment asking we should delete it as a dupe, before the response, for anyone who is curious about the information flow.)

@llopv
Copy link

llopv commented Dec 12, 2016

The question is not responded in the issue refered above.

According to the IPFS paper:

The full power of the Git version control tools is available to IPFS users. The object model is compatible, though not the same. It is possible to (a) build a version of the Git tools modified to use the IPFS object graph, (b) build a mounted FUSE filesystem that mounts an IPFS tree as a Git repo, translating Git filesystem read/writes to the IPFS formats.

@EtherTyper
Copy link
Author

EtherTyper commented Dec 12, 2016

@llopv Yes it is. The following reiterates on object immutability in IPFS, which means that objects cannot have differentials or be merged together natively.

... in effect objects added to ipfs cannot be deleted or edited. If an edit is required the file(s) must be edited locally and re-uploaded to ipfs, generating a new hash value for the file(s). ...

@EtherTyper
Copy link
Author

EtherTyper commented Dec 12, 2016

@llopv Though it is weird the issue contradicts the whitepaper...

@jbenet
Copy link
Contributor

jbenet commented Dec 12, 2016

The following reiterates on object immutability in IPFS, which means that objects cannot have differentials or be merged together natively.

What do you mean? Yes they can be-- this is exactly how git works. In git, all objects are immutable, and you use names (branches) to point to the latest immutable object. this is a hash-chain, merkle-dag or whatever you want to call it.

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants