summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 674b280)
raw | patch | inline | side by side (parent: 674b280)
author | Nikolai Weibull <mailing-lists.git@rawuncut.elitemail.org> | |
Thu, 8 Dec 2005 23:28:05 +0000 (00:28 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 8 Dec 2005 23:50:14 +0000 (15:50 -0800) |
Signed-off-by: Nikolai Weibull <nikolai@bitwi.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-show-branch.txt | patch | blob | history | |
show-branch.c | patch | blob | history |
index 304101d818056cb6624d44218122216d8fe517d8..ffe64d83533cb60d8a54bd33b784fda52091f9f2 100644 (file)
SYNOPSIS
--------
-'git-show-branch [--all] [--heads] [--tags] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [<rev> | <glob>]...'
+'git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [<rev> | <glob>]...'
DESCRIPTION
-----------
Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads,
and $GIT_DIR/refs/tags, respectively.
+--topo-order::
+ By default, the branches and their commits are shown in
+ reverse chronological order. This option makes them
+ appear in topological order (i.e., descendant commits
+ are shown before their parents).
+
--more=<n>::
Usually the command stops output upon showing the commit
that is the common ancestor of all the branches. This
diff --git a/show-branch.c b/show-branch.c
index 3cb335d68b40e54f1688e70730cd095be224d1e5..ab158eb7d08e9f6fe5c93d660a92c4b97914e516 100644 (file)
--- a/show-branch.c
+++ b/show-branch.c
#include "refs.h"
static const char show_branch_usage[] =
-"git-show-branch [--all] [--heads] [--tags] [--more=count | --list | --independent | --merge-base ] [<refs>...]";
+"git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [<refs>...]";
#define UNINTERESTING 01