From: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: Peter Krefting <peter@softwolves.pp.se>, Git List <git@vger.kernel.org>
Subject: Re: [PATCH] Added hint about using .gitignore in git status while printing untracked files
Date: Thu, 18 Feb 2010 16:58:27 +0530 [thread overview]
Message-ID: <e72faaa81002180328g65e10fbdqf483dcb527bcac27@mail.gmail.com> (raw)
In-Reply-To: <4B7D21A0.4000706@drmicha.warpmail.net>
>
> Also, an "or" may make things clearer, and "untrack" is wrong: to
> untrack is to stop tracking, but this is about untracked files. So, how
> about:
>
> ---
> wt-status.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/wt-status.c b/wt-status.c
> index 5807fc3..f17300f 100644
> --- a/wt-status.c
> +++ b/wt-status.c
> @@ -100,6 +100,7 @@ static void
> wt_status_print_untracked_header(struct wt_status *s)
> if (!advice_status_hints)
> return;
> color_fprintf_ln(s->fp, c, "# (use \"git add <file>...\" to include
> in what will be committed)");
> + color_fprintf_ln(s->fp, c, "# (or add its path to .gitignore to
> ignore it permanently)");
> color_fprintf_ln(s->fp, c, "#");
> }
>
> --
>
I Think that is good :)
-pavan
prev parent reply other threads:[~2010-02-18 11:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-18 9:48 [PATCH] Added hint about using .gitignore in git status while printing untracked files Pavan Kumar Sunkara
2010-02-18 9:59 ` Peter Krefting
2010-02-18 11:16 ` Michael J Gruber
2010-02-18 11:28 ` Pavan Kumar Sunkara [this message]
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=e72faaa81002180328g65e10fbdqf483dcb527bcac27@mail.gmail.com \
--to=pavan.sss1991@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=peter@softwolves.pp.se \
/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).