Does IPFS support git merge strategies? #151
Comments
|
@RichardLitt Probably not. We should keep it for clarification, I think. |
|
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.) |
|
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. |
|
@llopv Yes it is. The following reiterates on object immutability in IPFS, which means that objects cannot have differentials or be merged together natively.
|
|
@llopv Though it is weird the issue contradicts the whitepaper... |
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. |
|
This issue was moved to https://discuss.ipfs.io/t/does-ipfs-support-git-merge-strategies/274 |
EtherTyper commentedJul 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?
The text was updated successfully, but these errors were encountered: