]> git.proxmox.com Git - libgit2.git/commit
fileops: allow linking files when copying directory structures
authorCarlos Martín Nieto <cmn@dwim.me>
Wed, 28 May 2014 08:18:05 +0000 (10:18 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 28 May 2014 13:40:22 +0000 (15:40 +0200)
commit94f742bac60656f4f915711b953814477633b984
tree2b2cf58cd8268efda0d23d73bd5e019f912c3ae2
parentc1dbfcbb4a5ca92ae90f1bdb7004edb2eb86284c
fileops: allow linking files when copying directory structures

When passed the LINK_FILES flag, the recursive copy will hardlink files
instead of copying them.
src/fileops.c
src/fileops.h
tests/core/copy.c