[Unison-hackers] treating some directories atomically, and ignoring socket files
Julian Squires
julian at cipht.net
Wed Jan 14 08:31:48 EST 2015
Thanks for the feedback, everyone. I like the idea of the "up" action
in the text UI, but implementing it right now was outside the scope of
what I was working on.
I've attached patches that implement an atomic option, so you can
specify, e.g., "-atomic Name\ .git -atomic Name\ .svn", and these
directories will be treated indivisibly. Presumably one can use the
pattern matching facilities of this kind of predicate to match
packages on OS X but I haven't investigated it.
I have no doubt there are improvements that can be made to how I have
implemented this, so I welcome your comments.
--
Julian Squires
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-atomic-option-as-a-global-predicate.patch
Type: text/x-diff
Size: 1436 bytes
Desc: not available
URL: <http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20150114/4c115206/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-acceptance-test-for-git-directory-atomicity.patch
Type: text/x-diff
Size: 2519 bytes
Desc: not available
URL: <http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20150114/4c115206/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-handling-of-atomic-directories.patch
Type: text/x-diff
Size: 4700 bytes
Desc: not available
URL: <http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20150114/4c115206/attachment-0005.bin>
More information about the Unison-hackers
mailing list