git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* ctrl-z ignored by git; creates blobs from non-existent repos
@ 2023-01-13 22:01 Crls
  2023-01-15 15:45 ` Theodore Ts'o
  0 siblings, 1 reply; 7+ messages in thread
From: Crls @ 2023-01-13 22:01 UTC (permalink / raw)
  To: git

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


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

end of thread, other threads:[~2023-01-17 23:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 22:01 ctrl-z ignored by git; creates blobs from non-existent repos Crls
2023-01-15 15:45 ` Theodore Ts'o
2023-01-15 18:36   ` Jeff King
2023-01-15 22:47   ` Crls
2023-01-15 23:33     ` Jeff King
2023-01-17 22:40       ` Crls
2023-01-16  2:07     ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).