News for hackers. Stuff that matters.
Re:Show HN: Pullbox – A dead-simple dropbox alternative usin... by LukeB_UK on Friday August 14, 2015 @08:48AM (#10059819)
How does it deal with conflicts?
Re:Show HN: Pullbox – A dead-simple dropbox alternative usin... by prashanthellina on Friday August 14, 2015 @09:48AM (#10060069)
It is based on Git so uses the same mechanism. When a merge cannot be done because of conflict, you can resolve in the usual git workflow.
Re:Show HN: Pullbox – A dead-simple dropbox alternative usin... by dantillberg on Friday August 14, 2015 @10:06AM (#10060143)
It's also possible to specify other conflict resolution options, such as `git merge --strategy=recursive --strategy-option=theirs` [0], which avoids the need for manual conflict resolution (and it's "worked for me"). Discarded hunks are still available in the repo history, in case you needed to restore a file/hunk that was discarded in this manner.

[0]: http://git-scm.com/docs/git-merge (be sure to look for the "ours" option for the "recursive" strategy, not the "ours" strategy)

Re:Show HN: Pullbox – A dead-simple dropbox alternative usin... by prashanthellina on Friday August 14, 2015 @09:27PM (#10063947)
Thanks for the tip. I wanted to keep my implementation extremely bare-bones and simple so I chose to leave conflict resolution (which itself is a rare event in my a use-case as I usually only make modifications on one synced machine at a time).