[question] When an identical file is added
- From
- A bughunter <a_bughunter@proton.me>
- Date
- Nov 24, 2024, 02:24 UTC
- Message-ID
- <lSW86a4L1xWHfSTWIq732o26YCBCIN_B0rd6B1bCP8VIAY8d1V9pD1WEcCyW7Wyw2T14VVYka5XMTwJGFZEKcovBYIgOBUO5lbPWQ44cIfM=@proton.me>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
[question] When an identical file is added
While objects are immutable, if I do mixed mode reset switching to an old-commit under HEAD then 'add' the same files again Q. Will it keep two copies as objects? A. No because when an identical file is added the object file is identical. These become tree entries pointing to the same object. Q. May this overwrite the same object file because it is the same file? or because it is immutable will it reuse the old object file? A. When an identical file is added the old object shall be _ANSWER_HERE_
from A_bughunter@proton.me
Sent with Proton Mail secure email. -----BEGIN PGP SIGNATURE----- Version: ProtonMail
wnUEARYKACcFgmdCjlAJkKkWZTlQrvKZFiEEZlQIBcAycZ2lO9z2qRZlOVCu 8pkAADfCAP0fuC5Rc0gHALam7YkQHjZg54dGrnEUa6tZJZpSzNuiBgEA5c0a G+ZwfchdHP0gMPwHx4+TBL6LhW7ogj7u2IubQA4= =xVzR -----END PGP SIGNATURE-----