summaryrefslogtreecommitdiff
path: root/doc/bugs/unlock_not_working_on_os_x_10.6_-_cp:_illegal_option_--_-_.mdwn
blob: 3704334f38a9f23931fedcc7da9c3a3bda7b468e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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]]