Clone a Repository gives error :


#1

Hi,

I have this error when I would like to clone a Repository:

Command failed with error #-1!
COMMAND
git for-each-ref --sort='-creatordate' --format='%(objectname)%01%(objecttype)%01%(refname)%01%(*objectname)%01%(*objecttype)%01%(subject)%01%(creator)' -- 'refs/'

STDOUT
(empty)

STDERR
(empty)

could you help me?

Thanks

Kiet


#2

error “-1” might mean you don’t have git or git-for-each-ref in your path.


#3

I have configure like this :

under phabricator/support/bin :

lrwxrwxrwx. 1 jor jor 12 9 nov. 12:24 git -> /usr/bin/git
lrwxrwxrwx. 1 jor jor 25 9 nov. 12:33 git-receive-pack -> /usr/bin/git-receive-pack
lrwxrwxrwx. 1 jorr jor 24 9 nov. 12:25 git-upload-pack -> /usr/bin/git-upload-pack

is it correct?


#4

Yes, that looks correct.