admin管理员组

文章数量:1391981

A commit object usually looks something like this:

tree aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
parent aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
author Somebody <[email protected]> 1741933308 +0000
committer Somebody <[email protected]> 1741933308 +0000
gpgsig -----BEGIN SSH SIGNATURE-----
 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 AAAAAAAAAAAAAAAAAAAAA=
 -----END SSH SIGNATURE-----

Title

Message message message message
message message message message

Is there any guarantee that the fields will be in this

  • tree
  • parent(s)
  • author
  • comitter
  • gpgsig

order?


Apparently Git itself rejects commits where I reorder some fields (it doesn't let them pass fsck). However, is there any guarantee anywhere that this behavior will be kept?

本文标签: