diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-09 15:41:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-09 15:41:20 -0800 |
commit | 515ab1d542801aea6a6119c0391ef91dbc9e9de9 (patch) | |
tree | cfcad3b4d1f63c5d1c5c8752e507cc4f9db59207 /git-symbolic-ref.html | |
parent | 92887a3ed176ab77bfc12e91914f1cdd99e591d6 (diff) | |
download | git-htmldocs-515ab1d542801aea6a6119c0391ef91dbc9e9de9.tar.gz |
Autogenerated HTML docs for v1.7.8-163-g9859a
Diffstat (limited to 'git-symbolic-ref.html')
-rw-r--r-- | git-symbolic-ref.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/git-symbolic-ref.html b/git-symbolic-ref.html index 92d27a61c..be8253abf 100644 --- a/git-symbolic-ref.html +++ b/git-symbolic-ref.html @@ -632,12 +632,9 @@ a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p></div> <tt>refs/heads/master</tt>. When we wanted to switch to another branch,
we did <tt>ln -sf refs/heads/newbranch .git/HEAD</tt>, and when we wanted
to find out which branch we are on, we did <tt>readlink .git/HEAD</tt>.
-This was fine, and internally that is what still happens by
-default, but on platforms that do not have working symlinks,
-or that do not have the <tt>readlink(1)</tt> command, this was a bit
-cumbersome. On some platforms, <tt>ln -sf</tt> does not even work as
-advertised (horrors). Therefore symbolic links are now deprecated
-and symbolic refs are used by default.</p></div>
+But symbolic links are not entirely portable, so they are now
+deprecated and symbolic refs (as described above) are used by
+default.</p></div>
<div class="paragraph"><p><em>git symbolic-ref</em> will exit with status 0 if the contents of the
symbolic ref were printed correctly, with status 1 if the requested
name is not a symbolic ref, or 128 if another error occurs.</p></div>
@@ -650,7 +647,7 @@ name is not a symbolic ref, or 128 if another error occurs.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-11-15 13:45:02 PDT
+Last updated 2011-12-09 15:40:58 PDT
</div>
</div>
</body>
|