Autogenerated man pages for v1.5.0-rc1-g6f729
authorJunio C Hamano <junio@hera.kernel.org>
Tue, 16 Jan 2007 10:44:54 +0000 (10:44 +0000)
committerJunio C Hamano <junio@hera.kernel.org>
Tue, 16 Jan 2007 10:44:54 +0000 (10:44 +0000)
man1/git-reflog.1
man1/git-symbolic-ref.1

index 8565cb67b1f13a1568165b5f63af8794e377c4bc..0b6116ace3df341cc246a5b8e65052d51806ccba 100644 (file)
@@ -2,7 +2,7 @@
 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
 .\" Instead of manually editing it, you probably should edit the DocBook XML
 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-REFLOG" "1" "12/27/2006" "" ""
+.TH "GIT\-REFLOG" "1" "01/16/2007" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -12,7 +12,7 @@ git\-reflog \- Manage reflog information
 .SH "SYNOPSIS"
 .sp
 .nf
-\fIgit\-reflog\fR expire [\-\-dry\-run]
+\fIgit\-reflog\fR expire [\-\-dry\-run] [\-\-stale\-fix]
         [\-\-expire=<time>] [\-\-expire\-unreachable=<time>] [\-\-all] <refs>\&...
 .fi
 .SH "DESCRIPTION"
index 67ec61d9e59a65f6274aadd2141e1a4993dab4b4..495a0063d22f34b2154b743a9ffc06c0f9d7fc9e 100644 (file)
@@ -2,7 +2,7 @@
 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
 .\" Instead of manually editing it, you probably should edit the DocBook XML
 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-SYMBOLIC\-REF" "1" "12/03/2006" "" ""
+.TH "GIT\-SYMBOLIC\-REF" "1" "01/16/2007" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
 .SH "NAME"
 git\-symbolic\-ref \- read and modify symbolic refs
 .SH "SYNOPSIS"
-\fIgit\-symbolic\-ref\fR <name> [<ref>]
-.sp
+\fIgit\-symbolic\-ref\fR [\-q] <name> [<ref>]
 .SH "DESCRIPTION"
 Given one argument, reads which branch head the given symbolic ref refers to and outputs its path, relative to the .git/ directory. Typically you would give HEAD as the <name> argument to see on which branch your working tree is on.
-.sp
+
 Give two arguments, create or update a symbolic ref <name> to point at the given branch <ref>.
-.sp
+
 A symbolic ref is a regular file that stores a string that begins with ref: refs/. For example, your .git/HEAD is a regular file whose contents is ref: refs/heads/master.
-.sp
+.SH "OPTIONS"
+.TP
+\-q
+Do not issue an error message if the <name> is not a symbolic ref but a detached HEAD; instead exit with non\-zero status silently.
 .SH "NOTES"
 In the past, .git/HEAD was a symbolic link pointing at refs/heads/master. When we wanted to switch to another branch, we did ln \-sf refs/heads/newbranch .git/HEAD, and when we wanted to find out which branch we are on, we did readlink .git/HEAD. 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 readlink(1) command, this was a bit cumbersome. On some platforms, ln \-sf does not even work as advertised (horrors). Therefore symbolic links are now deprecated and symbolic refs are used by default.
-.sp
+
+git\-symbolic\-ref 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.
 .SH "AUTHOR"
 Written by Junio C Hamano <junkio@cox.net>
-.sp
 .SH "GIT"
 Part of the \fBgit\fR(7) suite
-.sp
+