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

ctrl-z ignored by git; creates blobs from non-existent repos

From
CCrls <kaploceh@gmail.com>
Date
Jan 13, 2023, 22:01 UTC
Message-ID
<632d051b-d81b-b35d-0641-c2488a124810@gmail.com>

Ctrl-Z is ignored by git; Git-clone injects blobs even with non-existent repos

Steps to reproduce 1- git clone github whateverrepo/whatevernonexistentrepo or 1- git clone gitlab whateverrepo/whatevernonexistentrepo 2= Git prompts for a username

3- Press Ctrl-Z to stop *git* from running either on the virtual console/tty *git* automatically creates blobs with directories and disregards

^Z altogether It goes ahead anyway and creates pleases. It looks as if ^Z is not enough.

Expected: The same issue does not happen with other non-existent repos 
e.g., git clone git.zx2c4/ it returns the message of fatal repo not found
   According to console_codes (4) CAN (0x18, ^X) and SUB (0x1A, ^Z) 
abort escape sequences should be clear enough
git version 2.36.3
Next: Theodore Ts'o
Message 1 of 7 in “ctrl-z ignored by git; creates blobs from non-existent repos”
  1. CrlsJan 13, 2023
  2. Theodore Ts'oJan 15, 2023
  3. Jeff KingJan 15, 2023
  4. CrlsJan 15, 2023
  5. Jeff KingJan 15, 2023
  6. CrlsJan 17, 2023
  7. Junio C HamanoJan 16, 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.