From 97c11c5144898db4f8848b34bc5f26603c5b6b6a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 16 Jan 2007 10:44:47 +0000 Subject: [PATCH] Autogenerated HTML docs for v1.5.0-rc1-g6f729 --- git-reflog.html | 4 ++-- git-reflog.txt | 2 +- git-symbolic-ref.html | 22 ++++++++++++++++++++-- git-symbolic-ref.txt | 14 +++++++++++++- 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/git-reflog.html b/git-reflog.html index 3f15425d0..b635cedc0 100644 --- a/git-reflog.html +++ b/git-reflog.html @@ -273,7 +273,7 @@ git-reflog(1) Manual Page

SYNOPSIS

-
git-reflog expire [--dry-run] +
git-reflog expire [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>…

DESCRIPTION

@@ -335,7 +335,7 @@ directly by the end users — instead, see git-gc(1) diff --git a/git-reflog.txt b/git-reflog.txt index 55a24d326..113886589 100644 --- a/git-reflog.txt +++ b/git-reflog.txt @@ -9,7 +9,7 @@ git-reflog - Manage reflog information SYNOPSIS -------- [verse] -'git-reflog' expire [--dry-run] +'git-reflog' expire [--dry-run] [--stale-fix] [--expire=

SYNOPSIS

-

git-symbolic-ref <name> [<ref>]

+

git-symbolic-ref [-q] <name> [<ref>]

DESCRIPTION

@@ -286,6 +286,21 @@ point at the given branch <ref>.

begins with ref: refs/. For example, your .git/HEAD is a regular file whose contents is ref: refs/heads/master.

+

OPTIONS

+
+
+
+-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. +

+
+
+

NOTES

In the past, .git/HEAD was a symbolic link pointing at @@ -298,6 +313,9 @@ 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.

+

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.

Author

@@ -309,7 +327,7 @@ and symbolic refs are used by default.

diff --git a/git-symbolic-ref.txt b/git-symbolic-ref.txt index 4bc35a1d4..fec3b4f64 100644 --- a/git-symbolic-ref.txt +++ b/git-symbolic-ref.txt @@ -7,7 +7,7 @@ git-symbolic-ref - read and modify symbolic refs SYNOPSIS -------- -'git-symbolic-ref' [] +'git-symbolic-ref' [-q] [] DESCRIPTION ----------- @@ -23,6 +23,14 @@ 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`. +OPTIONS +------- + +-q:: + Do not issue an error message if the is not a + symbolic ref but a detached HEAD; instead exit with + non-zero status silently. + NOTES ----- In the past, `.git/HEAD` was a symbolic link pointing at @@ -36,6 +44,10 @@ 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. +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. + Author ------ Written by Junio C Hamano -- 2.26.2