Re: [PATCH 0/2] "git add -A/--no-all" finishing touches
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 26, 2013, 21:30 UTC
- Message-ID
- <20130426213043.GP29963@google.com>
- In-Reply-To
- <7vd2thvx7l.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 8 quoted lines
> --- a/builtin/add.c > +++ b/builtin/add.c > @@ -495,6 +495,8 @@ int cmd_add(int argc, const char **argv, const char *prefix) > refresh(verbose, pathspec); > goto finish; > } > + if (implicit_dot && !prefix) > + refresh_cache(REFRESH_QUIET);
I think you mean "if (implicit_dot && prefix)". :)
This strategy is much less invasive than the alternatives discussed, so for what it's worth, with that correction,
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
I'll try to get time to work on those promised tests this weekend.