From: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: git clone NonExistentLocation
Date: Thu, 17 Feb 2011 10:01:27 +0100 [thread overview]
Message-ID: <4D5CE3E7.5030101@atlas-elektronik.com> (raw)
Hi.
If I do:
$ uname -a
Linux as100897 2.6.26-2-686 #1 SMP Thu Nov 25 01:53:57 UTC 2010 i686 GNU/Linux
$ git version
git version 1.7.4.1
$ ls -l NonExistentLocation
ls: cannot access NonExistentLocation: No such file or directory
$ git clone NonExistentLocation
Cloning into NonExistentLocation...
warning: You appear to have cloned an empty repository.
$
I get a new (empty) git repository in 'NonExistentLocation':
$ tree -a NonExistentLocation
NonExistentLocation
`-- .git
|-- HEAD
|-- branches
|-- config
|-- description
|-- hooks
| |-- applypatch-msg.sample
| |-- commit-msg.sample
| |-- post-commit.sample
| |-- post-receive.sample
| |-- post-update.sample
| |-- pre-applypatch.sample
| |-- pre-commit.sample
| |-- pre-rebase.sample
| |-- prepare-commit-msg.sample
| `-- update.sample
|-- info
| `-- exclude
|-- objects
| |-- info
| `-- pack
`-- refs
|-- heads
`-- tags
10 directories, 14 files
Is this the intended behaviour ?
Thanks,
Stefan
--
----------------------------------------------------------------
/dev/random says: An ounce of application is worth a ton of abstraction.
next reply other threads:[~2011-02-17 9:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 9:01 Stefan Naewe [this message]
2011-02-17 12:39 ` git clone NonExistentLocation Michael J Gruber
2011-02-17 12:52 ` Stefan Naewe
2011-02-17 12:59 ` Michael J Gruber
2011-02-17 14:03 ` Sverre Rabbelier
2011-02-17 16:53 ` Michael J Gruber
2011-02-18 4:01 ` Jeff King
2011-02-18 6:02 ` Junio C Hamano
2011-02-18 6:11 ` Jeff King
2011-02-18 10:16 ` Sverre Rabbelier
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=4D5CE3E7.5030101@atlas-elektronik.com \
--to=stefan.naewe@atlas-elektronik.com \
--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;
as well as URLs for NNTP newsgroup(s).