git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tay Ray Chuan <rctay89@gmail.com>
To: Thomas Schlichter <thomas.schlichter@web.de>
Cc: Junio C Hamano <gitster@pobox.com>,
	Sean Davis <sdavis2@mail.nih.gov>,
	git@vger.kernel.org
Subject: Re: git http-push and MKCOL error (22/409)
Date: Mon, 17 Aug 2009 12:52:32 +0800	[thread overview]
Message-ID: <be6fef0d0908162152o54206acfge43f6ffa012bb307@mail.gmail.com> (raw)
In-Reply-To: <200908161652.37282.thomas.schlichter@web.de>

Hi,

On Sun, Aug 16, 2009 at 10:52 PM, Thomas
Schlichter<thomas.schlichter@web.de> 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

  reply	other threads:[~2009-08-17  4:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16 13:57 git http-push and MKCOL error (22/409) Thomas Schlichter
2009-08-16 14:27 ` Tay Ray Chuan
2009-08-16 14:52   ` Thomas Schlichter
2009-08-17  4:52     ` Tay Ray Chuan [this message]
2009-08-17  5:18       ` Thomas Schlichter
2009-08-17  5:34         ` Thomas Schlichter
2009-08-16 19:34   ` Junio C Hamano
2009-08-17  4:58     ` Tay Ray Chuan
2009-08-17  5:25       ` Thomas Schlichter
2009-08-17  6:08         ` Junio C Hamano
2009-08-17  9:09         ` Tay Ray Chuan
2009-08-17 17:28           ` Thomas Schlichter
  -- strict thread matches above, loose matches on Subject: below --
2008-09-22 23:51 Sean Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be6fef0d0908162152o54206acfge43f6ffa012bb307@mail.gmail.com \
    --to=rctay89@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=sdavis2@mail.nih.gov \
    --cc=thomas.schlichter@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).