{"id":113258,"date":"2023-08-22T11:34:34","date_gmt":"2023-08-22T02:34:34","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=113258"},"modified":"2023-08-22T11:34:34","modified_gmt":"2023-08-22T02:34:34","slug":"git-2-42-released","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/git-2-42-released\/","title":{"rendered":"Git 2.42\u304c\u30ea\u30ea\u30fc\u30b9 - SHA-256\u4f7f\u7528\u6642\u306e\u8b66\u544a\u304c\u6e1b\u5c11"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2023\/08\/s_20230822_111042.jpg\" alt=\"S 20230822 111042\" title=\"s_20230822_111042.jpg\" border=\"0\" width=\"1059\" height=\"661\" \/><\/p>\n<p>Git\u958b\u767a\u30c1\u30fc\u30e0\u306e\u6ff1\u91ce\u7d14\u6c0f\u306f8\u670821\u65e5(\u73fe\u5730\u6642\u9593)\u3001\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u300cGit\u300d\u306e\u6700\u65b0\u7248\u300cGit v2.42.0\u300d\u3092<a href=\"https:\/\/lore.kernel.org\/lkml\/xmqqr0nwp8mv.fsf@gitster.g\/\">\u30ea\u30ea\u30fc\u30b9<\/a>\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.phoronix.com\/news\/Git-2.42-Released\">Phoronix<\/a>)\u3002<\/p>\n<p>Git\u3067\u306f\u6570\u5e74\u524d\u304b\u3089\u3001\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5\u3067SHA-1\u306e\u4ee3\u308f\u308a\u306bSHA-256\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u305f\u3081\u306e\u5b9f\u9a13\u7684\u306a\u53d6\u308a\u7d44\u307f\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002SHA-256\u306b\u306f\u30dd\u30b8\u30c8\u30ea\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u5f37\u5316\u3055\u308c\u3001\u885d\u7a81\u306e\u53ef\u80fd\u6027\u304c\u4f4e\u304f\u306a\u308b\u306a\u3069\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u3001\u6700\u7d42\u7684\u306b\u306fSHA-256\u3078\u306e\u79fb\u884c\u304c\u8a08\u753b\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u306e\u3068\u3053\u308d\u306fSHA-1\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Git 2.42\u3067\u306f\u3001SHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u4f7f\u7528\u6642\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u305f\u300cTHIS VARIABLE IS EXPERIMENTAL!\u300d\u306e\u3088\u3046\u306a\u4e00\u90e8\u306e\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u524a\u9664\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306fSHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3059\u308b\u7834\u58ca\u7684\u5909\u66f4\u304c\u4eca\u5f8c\u884c\u308f\u308c\u308b\u4e88\u5b9a\u304c\u306a\u3044\u305f\u3081\u3067\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u6b21\u306e\u3088\u3046\u306b\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5909\u66f4\u524d: <\/p>\n<blockquote><p>\nTHIS OPTION IS EXPERIMENTAL! SHA-256 support is experimental and still in an early stage. A SHA-256 repository will in general not be able to share work with \"regular\" SHA-1 repositories. It should be assumed that, e.g., Git internal file formats in relation to SHA-256 repositories may change in backwards-incompatible ways. Only use`--object-format=sha256` for testing purposes.<\/p>\n<p>\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u5b9f\u9a13\u7684\u306a\u3082\u306e\u3067\u3059\uff01SHA-256\u306e\u30b5\u30dd\u30fc\u30c8\u306f\u5b9f\u9a13\u7684\u3067\u3001\u307e\u3060\u521d\u671f\u6bb5\u968e\u3067\u3059\u3002SHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3001\u4e00\u822c\u7684\u306b\u300c\u901a\u5e38\u306e\u300dSHA-1\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u4f5c\u696d\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u305f\u3068\u3048\u3070\u3001SHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u95a2\u9023\u3059\u308bGit\u306e\u5185\u90e8\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u3001\u5f8c\u65b9\u4e92\u63db\u6027\u306e\u306a\u3044\u65b9\u6cd5\u3067\u5909\u66f4\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30c6\u30b9\u30c8\u76ee\u7684\u3067\u306e\u307f\u3001--object-format=sha256` \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n<\/p><\/blockquote>\n<p>\u5909\u66f4\u5f8c:<\/p>\n<blockquote><p>\nNote: At present, there is no interoperability between SHA-256 repositories and SHA-1 repositories.<\/p>\n<p>Historically, we warned that SHA-256 repositories may later need backward incompatible changes when we introduce such interoperability features. Today, we only expect compatible changes. Furthermore, if such changes prove to be necessary, it can be expected that SHA-256 repositories created with today's Git will be usable by future versions of Git without data loss.<\/p>\n<p>\u6ce8\uff1a\u73fe\u5728\u306e\u3068\u3053\u308d\u3001SHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u3068SHA-1\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u76f8\u4e92\u904b\u7528\u6027\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ee5\u524d\u306f\u3001SHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u5f8c\u65b9\u4e92\u63db\u6027\u306e\u306a\u3044\u5909\u66f4\u3092\u5fc5\u8981\u3068\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u8b66\u544a\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u73fe\u5728\u3067\u306f\u3001\u4e92\u63db\u6027\u306e\u3042\u308b\u5909\u66f4\u306e\u307f\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u305d\u306e\u3088\u3046\u306a\u5909\u66f4\u304c\u5fc5\u8981\u3067\u3042\u308b\u3053\u3068\u304c\u5224\u660e\u3057\u305f\u5834\u5408\u3001SHA-256\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3001\u5c06\u6765\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eGit\u3067\u3082\u30c7\u30fc\u30bf\u3092\u5931\u3046\u3053\u3068\u306a\u304f\u4f7f\u7528\u3067\u304d\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u307e\u3059\u3002\n<\/p><\/blockquote>\n<p>\u305d\u306e\u4ed6\u3001Windows\u95a2\u9023\u306e\u66f4\u65b0\u3084OpenSSL 3+\u306e\u8abf\u6574\u3001git var\u60c5\u5831\u306e\u51fa\u529b\u7bc4\u56f2\u306e\u62e1\u5927\u306a\u3069\u7d30\u304b\u306a\u5909\u66f4\u304c\u591a\u6570\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u65b0\u7248\u306f<a href=\"https:\/\/git-scm.com\/\">\u3053\u3061\u3089<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/uploads\/software\/6977\/s_icon.png\" alt=\"S icon\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>Git<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"https:\/\/git-scm.com\/\">https:\/\/git-scm.com\/<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/6977-git\">https:\/\/softantenna.com\/softwares\/6977-git<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>Linux\u306e\u958b\u767a\u8005Linus Torvalds\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u5206\u6563\u578b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Git\u958b\u767a\u30c1\u30fc\u30e0\u306e\u6ff1\u91ce\u7d14\u6c0f\u306f8\u670821\u65e5(\u73fe\u5730\u6642\u9593)\u3001\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u300cGit\u300d\u306e\u6700\u65b0\u7248\u300cGit v2.42.0\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(Phoronix)\u3002 Git\u3067\u306f\u6570\u5e74\u524d\u304b\u3089\u3001\u30b3\u30df\u30c3\u30c8\u30cf\u30c3\u30b7\u30e5\u3067SHA-1\u306e\u4ee3\u308f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":113259,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[159],"class_list":["post-113258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-git"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/113258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=113258"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/113258\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/113259"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=113258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=113258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=113258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}