git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix handling of matching nonbare repo vs. matching something under nonbare repo
@ 2020-08-12  7:12 Elijah Newren via GitGitGadget
  2020-08-12  7:12 ` [PATCH 1/2] t3000: fix some test description typos Elijah Newren via GitGitGadget
  2020-08-12  7:12 ` [PATCH 2/2] dir: avoid prematurely marking nonbare repositories as matches Elijah Newren via GitGitGadget
  0 siblings, 2 replies; 3+ messages in thread
From: Elijah Newren via GitGitGadget @ 2020-08-12  7:12 UTC (permalink / raw)
  To: git; +Cc: Elijah Newren

This fixes the issue reported at 
https://lore.kernel.org/git/CADjceoQxoL932W4mkfhG6VOgrQBhs9k6tXkWSkraKVPmUP+uCw@mail.gmail.com/
, a regression in git-2.27.0 (that wasn't reported until after 2.28.0). It
involves running ls-files --others with globs when nonbare repositories are
present.

Thanks to christian w for reporting, and Kyle Meyer for finding a way to
simplify the testcase and bisecting. Very helpful.

Elijah Newren (2):
  t3000: fix some test description typos
  dir: avoid prematurely marking nonbare repositories as matches

 dir.c                      |  9 ++++++---
 t/t3000-ls-files-others.sh | 24 ++++++++++++++++++++----
 2 files changed, 26 insertions(+), 7 deletions(-)


base-commit: 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-829%2Fnewren%2Fls-files-wildmatch-nonbare-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-829/newren/ls-files-wildmatch-nonbare-v1
Pull-Request: https://github.com/git/git/pull/829
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-12  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12  7:12 [PATCH 0/2] Fix handling of matching nonbare repo vs. matching something under nonbare repo Elijah Newren via GitGitGadget
2020-08-12  7:12 ` [PATCH 1/2] t3000: fix some test description typos Elijah Newren via GitGitGadget
2020-08-12  7:12 ` [PATCH 2/2] dir: avoid prematurely marking nonbare repositories as matches Elijah Newren via GitGitGadget

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).