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

Re: [PATCH RFC] commit: allow to commit even if there are intent-to-add entries

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:46

Nguyễn Thái Ngọc Duy  [off-list ref] writes:
This patch replaces the approach in 331fcb5 (git add --intent-to-add:
do not let an empty blob be committed by accident) regarding i-t-a
entries: instead of forbidding i-t-a entries at commit time, we can
simply ignore them.
I have a mild suspicion that in earlier incarnation of the patch we used
to let empty blobs committed, and then we used to instead not commit
anything at all for such a path, and the real users were bitten by either
of these approaches, forgetting to add the contents to the final commit.

So I am not sure if this is such a good idea.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help