Merge branch 'en/clean-nested-with-ignored'
authorJunio C Hamano <gitster@pobox.com>
Fri, 11 Oct 2019 05:24:45 +0000 (14:24 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Oct 2019 05:24:46 +0000 (14:24 +0900)
commitaafb75452b2e9b3f17db3a07e9ed1cf77fdce693
tree820b45d96c324cad16416e260eb3ea4626fe67a3
parent70bf0b755af4d1e66da25b7805cac0e481a082e4
parent69f272b922df153c86db520bf9b6018a9808c2a6
Merge branch 'en/clean-nested-with-ignored'

"git clean" fixes.

* en/clean-nested-with-ignored:
  dir: special case check for the possibility that pathspec is NULL
  clean: fix theoretical path corruption
  clean: rewrap overly long line
  clean: avoid removing untracked files in a nested git repository
  clean: disambiguate the definition of -d
  git-clean.txt: do not claim we will delete files with -n/--dry-run
  dir: add commentary explaining match_pathspec_item's return value
  dir: if our pathspec might match files under a dir, recurse into it
  dir: make the DO_MATCH_SUBMODULE code reusable for a non-submodule case
  dir: also check directories for matching pathspecs
  dir: fix off-by-one error in match_pathspec_item
  dir: fix typo in comment
  t7300: add testcases showing failure to clean specified pathspecs
Documentation/git-clean.txt
builtin/clean.c
dir.c
dir.h