1
0
mirror of https://github.com/git/git.git synced 2024-11-18 03:14:02 +01:00

Merge branch 'jc/warn-pathless-add-finishing-touches'

* jc/warn-pathless-add-finishing-touches:
  git add: avoid "-u/-A without pathspec" warning on stat-dirty paths
This commit is contained in:
Junio C Hamano 2013-04-26 15:17:48 -07:00
commit aedb94b3f0

@ -542,6 +542,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);
if (pathspec) {
int i;