Re: git http-push and MKCOL error (22/409)

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

 



Hi,

On Sun, Aug 16, 2009 at 10:52 PM, Thomas
Schlichter<thomas.schlichter@xxxxxx> wrote:
> Steps to reproduce:

before I try this out, I have a few queries:

>  1. locally set up a git archive:
>     mkdir dummy.git
>     cd dummy.git
>     git init --bare
>  2. Upload this directory to the server.
>     I did do this using KDE's dolphin via WebDAV.
>  3. Clone this remote repository:
>     git clone https://webdav.smartdrive.web.de/dummy.git my_dummy

You didn't run git update-server-info before doing the clone; cloning
wouldn't work cos git can't find a info/refs file. Perhaps you did do
it and unintentionally left it out from your procedure listed here?

>  4. Create a local commit:
>     cd my_dummy
>     touch dummy.c
>     git commit -a

I assume you want to commit dummy.c? But you didn't tell git to track
it in the first place (git add dummy.c).

>  5. Push this commit up to the remote repository:
>     git push origin master

I also find it strange that git only pushed 1 object from your git
push output, when usually there would be a tree, a blob and a commit
to push for a new commit.

-- 
Cheers,
Ray Chuan
--
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]