git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* `git fetch origin ''` (the empty string) -- should this work?
@ 2020-01-08  5:28 Anthony Sottile
  0 siblings, 0 replies; only message in thread
From: Anthony Sottile @ 2020-01-08  5:28 UTC (permalink / raw)
  To: Git Mailing List

this seems to end up doing the same as `git fetch origin HEAD` but I
can't figure out why -- perhaps someone on this list can help me :)

$ git fetch origin ''
From github.com:python/cpython
 * branch                  HEAD       -> FETCH_HEAD

what I expected was `fatal: Couldn't find remote ref ''` or something
of the sort as would be seen when fetching some non-existent branch:

$ git fetch origin wat
fatal: Couldn't find remote ref wat

Anthony

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-08  5:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08  5:28 `git fetch origin ''` (the empty string) -- should this work? Anthony Sottile

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).