Commit Briefs

b7422a2f5c Stefan Sperling

stop using realpath(3) to resolve a symlink target in install_symlink()

We should not resolve a symlink target path recursively when installing a symlink in the work tree. We want to handle this symlink's target, not the end result of following a chain of symlinks in case such links already exist.


369fd7e5fa Stefan Sperling

add support for symlinks to 'got revert -p'


fa3cef6379 Stefan Sperling

make 'got stage -p' work with symlinks


b448fd0085 Stefan Sperling

fix wrong function name in an error message



c631b11525 Stefan Sperling

make staging of symlinks work





984c073dfe Stefan Sperling

add getter/setter for staged file index entry filetype


f5f1f9c21f Stefan Sperling

handle on-disk file index entry filetypes properly


1e0a3718b1 Stefan Sperling

reserve some file entry mode bits for a staged file type


4901ccfcf0 Stefan Sperling

add a test for 'got revert' with symlinks


6e1eade5c8 Stefan Sperling

fix 'got revert' progress output for symlinks



c90c8ce30c Stefan Sperling

preserve unversioned files when merging added symlinks


65b05cec5f Stefan Sperling

add an output argument to create_fileindex_entry()

Avoids a pointless search of the file index in the case the caller needs to use the newly created file entry.


2e1fa22206 Stefan Sperling

give bad symlinks a dedicated file type in the file index



ef8d60312a Stefan Sperling

keep file index entry permission bits clear for symlinks


fba9f79c4f Stefan Sperling

restore unversioned file test case in test_cherrypick_symlink_conflicts

One part of current behaviour is to delete an unversioned file and replace it with a symlink; that's very bad in case the user wants to keep the file.


960094b4ef Stefan Sperling

resolve an XXX remark in merge_file_cb()



88fb31d4ff Stefan Sperling

extend test_commit_symlink test case


e8863bdcc3 Stefan Sperling

add symlink support to 'got import'