From: "Ron Parker" <rdparker@gmail.com>
To: git@vger.kernel.org
Subject: [PATCH] Use symlinks with rsync in core tutorial
Date: Mon, 20 Feb 2006 18:37:23 -0600 [thread overview]
Message-ID: <1cf1c57a0602201637g161bbc41x732675573c0b42d7@mail.gmail.com> (raw)
From: Ron Parker <rdp@inthefaith.net>
Date: Mon Feb 20 18:05:39 2006 -0600
* Documentation/core-tutorial.txt: Use rsync -rl instead of -rL.
Signed-off-by: Ron Parker <rdp@inthefaith.net>
---
I think there is a typo in the core tutorial. It appears that symlinks
must be preserved when doing an rsync otherwise HEAD does not point to
the right ref, it becomes a copy of it. If I:
$ rsync -rL rsync://rsync.kernel.org/pub/scm/git/git.git/ .git
Then when IS
$ git-read-tree HEAD
fatal: Not a git repository
is what I get. However, doing:
$ rsync -rl ...
seems to work. The only noticeable difference is that the second
creates HEAD as a symlink.
Documentation/core-tutorial.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
79ac94c0b7f8e195cf07a51c393115e7d0636069
diff --git a/Documentation/core-tutorial.txt b/Documentation/core-tutorial.txt
index 4211c81..461f845 100644
--- a/Documentation/core-tutorial.txt
+++ b/Documentation/core-tutorial.txt
@@ -724,7 +724,7 @@ create your own copy of the git reposito
----------------
$ mkdir my-git
$ cd my-git
-$ rsync -rL rsync://rsync.kernel.org/pub/scm/git/git.git/ .git
+$ rsync -rl rsync://rsync.kernel.org/pub/scm/git/git.git/ .git
----------------
followed by
--
1.2.1
reply other threads:[~2006-02-21 0:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1cf1c57a0602201637g161bbc41x732675573c0b42d7@mail.gmail.com \
--to=rdparker@gmail.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).