Re: Git commit generation numbers
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 22, 2011, 19:06 UTC
- Message-ID
- <CA+55aFzsZ6w_a_wPEuBjtDeSDYQviVfy9UmJMxPz4geu4CRthQ@mail.gmail.com>
- In-Reply-To
- <201107222034.20510.jnareb@gmail.com>
On Fri, Jul 22, 2011 at 11:34 AM, Jakub Narebski <jnareb@gmail.com> wrote:
> > That is IF unknown headers are copied verbatim during rebase. For > "encoding" header this is a good thing, for "generation" it isn't.
Afaik, they aren't copied verbatim, and never have been. Afaik, the only thing that has *ever* written commits is "commit_tree()" (originally "main()" in commit-tree.c). Why is this red herring even being discussed?
Of course you can always generate bogus commits by writing them by hand. But that's irrelevant.
Linus