From: René Scharfe Date: Wed, 24 Jun 2020 13:05:24 GMT Subject: Re: Git 2 force commits but Git 1 doesn't Message-ID: <143f7207-4428-81bb-877e-8bbeb9a79a1c@web.de> In-Reply-To: <83e99359-2c24-d8cd-bd4a-6ba90ed54b7f@web.de> Am 23.06.20 um 18:42 schrieb René Scharfe: > Why do we have object flags and not commit flags anyway? (I may have > asked that before, but can't find the answer..) Easy: There are flags that apply to other types of objects; e.g. NOT_USER_GIVEN only applies to trees and blobs. Adding a commit flags field sounds easy, but requires duplicating several functions that work with object flags, e.g. clear_commit_marks(). And there's the risk of confusing the two flags types. René