ctrl-z ignored by git; creates blobs from non-existent repos
- From
- Crls <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