]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'zh/ls-files-deduplicate'
authorJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2021 00:40:44 +0000 (16:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2021 00:40:44 +0000 (16:40 -0800)
"git ls-files" can and does show multiple entries when the index is
unmerged, which is a source for confusion unless -s/-u option is in
use.  A new option --deduplicate has been introduced.

* zh/ls-files-deduplicate:
  ls-files.c: add --deduplicate option
  ls_files.c: consolidate two for loops into one
  ls_files.c: bugfix for --deleted and --modified


Trivial merge