{"thread":{"id":"65485","subject":"git fetch second argument parsing inconsistency","startedAt":"2026-04-15T00:06:04Z","lastAt":"2026-04-15T00:06:04Z","messageCount":1,"participants":["Alix Brunet"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"541607","messageId":"CAPCeX5b0T6WOnr-aCWV0CfMvPSk0KgzbnshgYgREELWjdGe=hw@mail.gmail.com","threadId":"65485","inReplyTo":null,"subject":"git fetch second argument parsing inconsistency","fromName":"Alix Brunet","fromEmail":"alixbrunetcontact@gmail.com","sentAt":"2026-04-15T00:05:50Z","receivedAt":"2026-04-15T00:06:04Z","isPatch":false,"body":"Hello team.\n\nI just \"discovered\" that the git fetch second argument parsing is\ninconsistent\n\n`git fetch <url>` silently fails, but `git fetch <url> \"\"` fetches the\ndefault branch\n\nI quoted \"discovered\" because imagine this might have been discovered\nbefore, but it took me too long to figure out, and the docs page (\nhttps://git-scm.com/docs/git-fetch ) doesn't mention it either.\n\nI figure this is either an unwanted behavior, an error that should not be\nsilent, or at the very least something that needs documentation.\n\nSincerely,\nMalix - https://github.com/Malix-Labs\n"}]}