]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
"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

1  2 
Documentation/git-clean.txt
builtin/clean.c
dir.c
dir.h

Simple merge
diff --cc builtin/clean.c
Simple merge
diff --cc dir.c
Simple merge
diff --cc dir.h
Simple merge