git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git Pathspec bug

From
MWMoritz Widmann <widmann@tweaklab.org>
Date
Oct 17, 2023, 09:45 UTC
Message-ID
<7368e4ad-b05b-4b8f-a13b-0a68b442e72b@tweaklab.org>

I executed the following command in zsh (added `command` just to be sure that there's no aliases or functions)

command git submodule add 'git@github.com:moritz-t-w/Godot-Onscreen-Keyboard.git' '.' fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

Git Version: 2.42.0
OS: Arch Linux
Next: Kristoffer Haugsbakk
Message 1 of 3 in “Git Pathspec bug”
  1. Moritz WidmannOct 17, 2023
  2. Kristoffer HaugsbakkOct 17, 2023
  3. Junio C HamanoOct 17, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.