From: Petr Baudis <pasky@suse.cz>
To: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: git@vger.kernel.org
Subject: Re: [BUG] (minor) Cloning an empty repository
Date: Fri, 31 Aug 2007 12:10:52 +0200 [thread overview]
Message-ID: <20070831101052.GO1219@pasky.or.cz> (raw)
In-Reply-To: <vpqk5rc10mx.fsf@bauges.imag.fr>
Hi,
On Fri, Aug 31, 2007 at 12:03:50PM CEST, Matthieu Moy wrote:
> That's a detail, but it would be better if either git could actually
> do the clone, or give me a clean error message like "Can not clone
> empty repository".
FWIW, I would like git to clone empty repositories too. With the current
smart remotes handling, it will pick up the first branches as they
appear in the other repository automagically. And with e.g. repo.or.cz,
if you are starting a project from scratch this would be useful. Sure,
you can instead git init && git remote add origin git+ssh://.../, but
this fact seems to be confusing not-so-git-well-versed people.
Now, I guess you'd like a patch... ;-)
--
Petr "Pasky" Baudis
Early to rise and early to bed makes a male healthy and wealthy and dead.
-- James Thurber
prev parent reply other threads:[~2007-08-31 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 10:03 [BUG] (minor) Cloning an empty repository Matthieu Moy
2007-08-31 10:10 ` Petr Baudis [this message]
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=20070831101052.GO1219@pasky.or.cz \
--to=pasky@suse.cz \
--cc=Matthieu.Moy@imag.fr \
--cc=git@vger.kernel.org \
/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