What steps will reproduce the problem?
try to unlock a file in a git annex checkout
What is the expected output? What do you see instead?
% git annex unlock FILENAME
unlock FILENAME (copying...) cp: illegal option -- -
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
git-annex: copy failed!
(should unlock the file)
What version of git-annex are you using? On what operating system?
latest git annex osx build as of yesterday (12-11-03)
I've made the
cp
command be included in the OSX standalone build, so it will use the same one it's built with. So the next time we get an OSX build this will be fixed. done --Joey
Did you build this git-annex yourself? On the same machine?
What does it say if you add the
--debug
option?Thanks for the quick response :) I think the problem is that the os x cp does not support ''--reflink" (and gnu long options). I guess I could install gnu coreutils through homebrew, though those will be prefixed with a g in the name. My OS version is 10.6.8 btw.
Also, while browsing the archive for another problem (can not add files because shasum256 is missing and I get a "dyld: Library not loaded: /opt/local/lib/libintl.8.dylib" for it's execution when I add the path for /Applications/git-annex.app/Contents/MacOS/bin/sha256sum) I saw that it should fall back on haskell code - which it doesn't, so maybe its an old version?