From: Jonathan Nieder <jrnieder@gmail.com>
To: Sitaram Chamarty <sitaram@atc.tcs.com>
Cc: gitster@pobox.com, git@vger.kernel.org,
Ramkumar Ramachandra <artagnon@gmail.com>
Subject: [PATCH 1/2] Documentation: split gitignore page into sections
Date: Wed, 10 Nov 2010 12:57:39 -0600 [thread overview]
Message-ID: <20101110185739.GB12365@burratino> (raw)
In-Reply-To: <20101110185555.GA12365@burratino>
A learner-by-example might want to look at the examples section first.
Help her out by supplying some section headings: PATTERN FORMAT for
the format of lines in an excludes file and EXAMPLES for the two
examples.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Documentation/gitignore.txt | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
index 7dc2e8b..254bc1a 100644
--- a/Documentation/gitignore.txt
+++ b/Documentation/gitignore.txt
@@ -62,7 +62,8 @@ files specified by command-line options. Higher-level git
tools, such as 'git status' and 'git add',
use patterns from the sources specified above.
-Patterns have the following format:
+PATTERN FORMAT
+--------------
- A blank line matches no files, so it can serve as a separator
for readability.
@@ -98,7 +99,8 @@ Patterns have the following format:
For example, "/{asterisk}.c" matches "cat-file.c" but not
"mozilla-sha1/sha1.c".
-An example:
+EXAMPLES
+--------
--------------------------------------------------------------
$ git status
--
1.7.2.3.557.gab647.dirty
next prev parent reply other threads:[~2010-11-10 18:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1289387440-8509-1-git-send-email-sitaram@atc.tcs.com>
2010-11-10 18:55 ` [PATCH] gitignore(5): explain how to stop tracking a file Jonathan Nieder
2010-11-10 18:57 ` Jonathan Nieder [this message]
2010-11-10 19:00 ` [PATCH 2/2] Documentation: point to related commands from gitignore Jonathan Nieder
2010-11-11 19:05 ` Junio C Hamano
2010-11-11 1:10 ` [PATCH] gitignore(5): explain how to stop tracking a file Sitaram Chamarty
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=20101110185739.GB12365@burratino \
--to=jrnieder@gmail.com \
--cc=artagnon@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=sitaram@atc.tcs.com \
/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).