From: Pavan Kumar Sunkara Date: Thu, 18 Feb 2010 11:28:27 GMT Subject: Re: [PATCH] Added hint about using .gitignore in git status while printing untracked files Message-ID: 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 ...\" 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