* [PATCH] Use symlinks with rsync in core tutorial
@ 2006-02-21 0:37 Ron Parker
0 siblings, 0 replies; only message in thread
From: Ron Parker @ 2006-02-21 0:37 UTC (permalink / raw)
To: git
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-21 0:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 0:37 [PATCH] Use symlinks with rsync in core tutorial Ron Parker
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).