diff options
author | Jon Bernard <jbernard@jbernard.io> | 2018-04-17 11:02:35 -0400 |
---|---|---|
committer | Jon Bernard <jbernard@jbernard.io> | 2018-04-17 11:02:35 -0400 |
commit | 18a90a011fefb31bb40ec8da4b863910376e648f (patch) | |
tree | 9822b220ebd54aca8b6d94df70588fec8f4fdcaf /contrib | |
parent | ae6723be0c94e1e979523efbffa39cd0f422db41 (diff) | |
download | dotfiles-18a90a011fefb31bb40ec8da4b863910376e648f.tar.gz dotfiles-18a90a011fefb31bb40ec8da4b863910376e648f.tar.bz2 dotfiles-18a90a011fefb31bb40ec8da4b863910376e648f.zip |
Begin adding support for file copy
Until now, dotfiles has only linked files using symbolic links. This
doesn't always work, some configuration files cannot be symlinks. This
commit begins adding support for file copy instead of linking. File
status is still maintained, if the dotfile is copied and the content
differ from what's in the repository, a conflict is displayed.
Otherwise the file is an exact duplicate and that's what we want.
Still to do is exposing a command to copy from the cli and adding
support to remove() to do the right thing. It may also be nice to see
file status (symlink vs. copy) in status output, still undecided.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions