KamoCRM

Stop telling implementers to run git commit --allow-empty

Docskamo-internal
Ya
27 Agosti 2026, 07:37 UTC
Mwandishi
kamo
Ahadi ya
0446c19

--allow-empty PERMITS an empty result, it does not force one. With no pathspec it still commits the index, and these checkouts always have another session's work staged in them. A peer ran this exact line and shipped a re-add of a deleted translation key, taking the marketing build red for ~40 minutes. Both rebuild triggers now build the empty commit out of tree from origin's own tree, where there is no index to sweep, and assert the --stat is empty before pushing.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei