Liste des Groupes | Revenir à co vms |
It is likely not a problem with any measurable impact."should" seems awfully strong there and I don't understand why temporaryOn Fri, 22 Nov 2024 19:59:07 -0500, Arne Vajhøj wrote:But this is what a source control system really should be using for such
functionality. No need for temporary disk files.
disk files pose a problem.
To compute the commit ID, git has toThe files being committed are on disk, so Git will be doing disk IO.
calculate the SHA1 of the actual content changes, the metadata (who,
when, etc.), and the commit message. While that could theoretically all
be done in memory, how can be you sure it would all fit in memory?
PlusMaybe. But It is not obvious to me that having commit message
debugging and recovery from failed operations would surely be much
easier with some kind of persistence of intermediate steps.
So I thinkThe commit message should not be saved on disk client side at all.
the actual design of git is much better than this hypothetical one that
tries to avoid saving anything to disk until the last step.
Les messages affichés proviennent d'usenet.