From: Vincent van Ravesteijn <vfr@lyx.org>
To: git@vger.kernel.org
Cc: trast@inf.ethz.ch, gitster@pobox.com,
Vincent van Ravesteijn <vfr@lyx.org>
Subject: [PATCHv2 3/3] Documentation/git-branch: add default for --contains
Date: Tue, 6 Mar 2012 10:32:45 +0100 [thread overview]
Message-ID: <1331026365-7044-3-git-send-email-user@vincent-VirtualBox> (raw)
In-Reply-To: <1331026365-7044-1-git-send-email-user@vincent-VirtualBox>
From: Vincent van Ravesteijn <vfr@lyx.org>
Indicate that the commit parameter of --contains defaults to HEAD.
Signed-off-by: Vincent van Ravesteijn <vfr@lyx.org>
---
Documentation/git-branch.txt | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index cfceac5..6410c3d 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -163,8 +163,9 @@ start-point is either a local or remote-tracking branch.
Open an editor and edit the text to explain what the branch is
for, to be used by various other commands (e.g. `request-pull`).
---contains <commit>::
- Only list branches which contain the specified commit.
+--contains [<commit>]::
+ Only list branches which contain the specified commit (HEAD
+ if not specified).
--merged [<commit>]::
Only list branches whose tips are reachable from the
--
1.7.5.4
next prev parent reply other threads:[~2012-03-06 9:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 8:51 [PATCH] Documentation update for 'git branch' vfr
2012-03-06 9:00 ` Thomas Rast
2012-03-06 9:32 ` [PATCHv2 1/3] Documentation/git-branch: cleanups Vincent van Ravesteijn
2012-03-06 9:32 ` [PATCHv2 2/3] Documentation/git-branch: fix a typo Vincent van Ravesteijn
2012-03-06 9:32 ` Vincent van Ravesteijn [this message]
2012-03-06 19:43 ` [PATCHv2 1/3] Documentation/git-branch: cleanups Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331026365-7044-3-git-send-email-user@vincent-VirtualBox \
--to=vfr@lyx.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=trast@inf.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).