ctrl-z ignored by git; creates blobs from non-existent repos
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: ctrl-z ignored by git; creates blobs from non-existent repos
- From: Crls <kaploceh@xxxxxxxxx>
- Date: Fri, 13 Jan 2023 17:01:01 -0500
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1
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
[Index of Archives]
[Linux Kernel Development]
[Gcc Help]
[IETF Annouce]
[DCCP]
[Netdev]
[Networking]
[Security]
[V4L]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux SCSI]
[Fedora Users]