-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 NEEDS TESTING [bug] user may be cornered into delete files #9901 Look wheather you call it a "landmine" or "bug" this is a defect in the software application git. The defect is: user may be cornered into having to delete files. Steps to reproduce: if for any reason the push fails during the intial creation and upload of files to a git repository then the user is left with three options reset modes soft, mixed, and hard. Because GitHub hangs up during the compression of many files being pushed these files must be pushed 1 by 1. If the user wants to repush the files the user must be able to undo the tracked files and repush them 1 by 1. Hard is immediatly excluded because it deletes files. Mixed likely deletes files also because it wipes the index of the CWD after the files have been 'add'. While soft may not delete the files it would not wipe the index, the index is needed to be wiped to allow for the files to be re add, commit, and pushed. I am working from an android so it is hard to setup computer lab tests. Somebody should be able to setup experimental git repos to reproduce and CONFIRM the bug. You will be looking to CONFIRM that neither modes soft or mixed will allow the user to undo tracked files for repush. What I did was copy the files out to be safe and a soft reset and I workaround the problem but the user should not need to copy anf make backups of files because this is the intended afvantage anf purpose of git. Because I did a workaround the bugreport still need's to be tested and CONFIRMED. from A_bughunter@xxxxxxxxx Sent with Proton Mail secure email. -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmdDuxwJkKkWZTlQrvKZFiEEZlQIBcAycZ2lO9z2qRZlOVCu 8pkAAFO6AP918fCRKPBij1LgVOttJepAslX9VqSfrhjT3VnygJAfpgEA34dE IWoJx9beK7zLk6NlDc+0iU7DEXcaSxK86atsXAQ= =u2Tz -----END PGP SIGNATURE-----
Attachment:
publickey - A_bughunter@proton.me - 0x66540805.asc
Description: application/pgp-keys
Attachment:
publickey - A_bughunter@proton.me - 0x66540805.asc.sig
Description: PGP signature