Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] Teach "git add" and friends to be paranoid

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:18

Zygo Blaxell [off-list ref] writes:
If git commit runs out of disk space, for example, the commit should
fail, but the repository should still not be corrupt.  Future commits
(for example after freeing some disk space) should eventually succeed.
That is true.  It is Ok to create a corrupt object as long as running an
equivalent of fsck immediately after an object creation to catch the
breakage to prevent it from propagating further.

That is essentially what "paranoid" switch does, but it adds overhead that
is unnecessary for the use case we primarily target in git.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help