Re: Error on git clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hannes,

As you have expected, when I run that command,
    git -p ls-tree -r origin/master > lll.txt
and redirect it to a log file, the log file does show some lines that have:
    "public/images/tagging\rtagging/title_add_tags_to.png"

THANK YOU SO VERY MUCH for helping me in resolving the problem that I have 
encountered with the git clone command on my PC Windows XP system.  I'll 
definitely ask my upstream to fix the
repository on that 'CR'.  I'll also take a look at that "sparse checkout" that 
you have mentioned.

Again, a big thank you for solving this perplexing problem, especially with the 
print over log messages.  You rock!!!
Hoca




----- Original Message ----
From: Johannes Sixt <j.sixt@xxxxxxxxxxxxx>
To: Hocapito Cheteamo <hocapitocheteamo@xxxxxxxxx>
Cc: git@xxxxxxxxxxxxxxx; Sverre Rabbelier <srabbelier@xxxxxxxxx>
Sent: Wed, October 6, 2010 2:51:55 AM
Subject: Re: Error on git clone

Am 10/6/2010 12:34, schrieb Hocapito Cheteamo:
> $ git fetch
> Enter passphrase for key 'C:\.....\privateKey':
> remote: Counting objects: 478, done.
> remote: Compressing objects: 100% (303/303), done.
> Receiving objects: 100% (478/478), 96.57 MiB | 166 KiB/s, done.
> Resolving deltas: 100% (21/21), done.
> From github.com:XXX/YYY
>  * [new branch]      master     -> origin/master

Ok, download works as expected. You don't have to repeat these steps
anymore. Keep a copy of sss3\.git around so that you can go back to this
state when necessary.

> $ git checkout -b master origin/master
> Checking out files: 43%
> tagging': Invalid argumenttory at 'public/images/tagging

The error message is this one:

cannot create directory at '%s'

Do you have a file/directory with a CR in it? When you run this:

git -p ls-tree -r origin/master

and look for public/images, do you see this:

"public/images/tagging\rtagging"

(including the double-quotes)? If so, ask your upstream to fix the
repository; you can't checkout the data as is on Windows.

Alternatively, you could use a sparse checkout that excludes the
questionable file. Read "Sparse checkout" in
http://www.kernel.org/pub/software/scm/git/docs/git-read-tree.html

-- Hannes



      
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]