{"thread":{"id":"29105","subject":"[PATCH] git symbolic-ref: documentation fix","startedAt":"2011-12-07T15:20:16Z","lastAt":"2011-12-09T18:07:25Z","messageCount":2,"participants":["mhagger@alum.mit.edu","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"180490","messageId":"1323271216-18237-1-git-send-email-mhagger@alum.mit.edu","threadId":"29105","inReplyTo":null,"subject":"[PATCH] git symbolic-ref: documentation fix","fromName":"","fromEmail":"mhagger@alum.mit.edu","sentAt":"2011-12-07T15:20:16Z","receivedAt":"2011-12-07T15:20:16Z","isPatch":true,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"From: Michael Haggerty <mhagger@alum.mit.edu>\n\nThe old \"git symbolic-ref\" manpage seemed to imply in one place that\nsymlinks are still the default way to represent symbolic references\nand in another that symlinks are deprecated.  Fix the text and shorten\nthe justification for the change of implementation.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\n---\n Documentation/git-symbolic-ref.txt |    9 +++------\n 1 files changed, 3 insertions(+), 6 deletions(-)\n\ndiff --git a/Documentation/git-symbolic-ref.txt b/Documentation/git-symbolic-ref.txt\nindex 75b1ae5..a45d4c4 100644\n--- a/Documentation/git-symbolic-ref.txt\n+++ b/Documentation/git-symbolic-ref.txt\n@@ -43,12 +43,9 @@ In the past, `.git/HEAD` was a symbolic link pointing at\n `refs/heads/master`.  When we wanted to switch to another branch,\n we did `ln -sf refs/heads/newbranch .git/HEAD`, and when we wanted\n to find out which branch we are on, we did `readlink .git/HEAD`.\n-This was fine, and internally that is what still happens by\n-default, but on platforms that do not have working symlinks,\n-or that do not have the `readlink(1)` command, this was a bit\n-cumbersome.  On some platforms, `ln -sf` does not even work as\n-advertised (horrors).  Therefore symbolic links are now deprecated\n-and symbolic refs are used by default.\n+But symbolic links are not entirely portable, so they are now\n+deprecated and symbolic refs (as described above) are used by\n+default.\n \n 'git symbolic-ref' will exit with status 0 if the contents of the\n symbolic ref were printed correctly, with status 1 if the requested\n-- \n1.7.8\n"},{"id":"180707","messageId":"7vd3bxebnk.fsf@alter.siamese.dyndns.org","threadId":"29105","inReplyTo":"1323271216-18237-1-git-send-email-mhagger@alum.mit.edu","subject":"Re: [PATCH] git symbolic-ref: documentation fix","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-12-09T18:07:25Z","receivedAt":"2011-12-09T18:07:25Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks; will queue.\n"}]}