Skip to content

Commit 1938212

Browse files
Comment out git-tree-sha computation
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
1 parent 37e40a2 commit 1938212

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/VersionsJSONUtil.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ function is_stable(v::VersionNumber)
129129
return v.prerelease == () && v.build == ()
130130
end
131131

132-
function tarball_git_tree_hash(; tarball_path::AbstractString, algorithm::AbstractString)
133-
return open(io -> Tar.tree_hash(io; algorithm), `$(exe7z()) x $tarball_path -so`)
134-
end
132+
# function tarball_git_tree_hash(; tarball_path::AbstractString, algorithm::AbstractString)
133+
# return open(io -> Tar.tree_hash(io; algorithm), `$(exe7z()) x $tarball_path -so`)
134+
# end
135135

136136
# Get list of tags from the Julia repo
137137
function get_tags()
@@ -200,12 +200,12 @@ function main(out_path)
200200
tarball_git_tree_hashes = Dict{String, String}()
201201
tree_hash_path_sha1 = hit_file_cache("$(filename).git-tree-sha1") do tree_hash_path
202202
open(tree_hash_path, "w") do hash_io
203-
write(hash_io, tarball_git_tree_hash(; tarball_path=filepath, algorithm="git-sha1"))
203+
# write(hash_io, tarball_git_tree_hash(; tarball_path=filepath, algorithm="git-sha1"))
204204
end
205205
end
206206
tree_hash_path_sha256 = hit_file_cache("$(filename).git-tree-sha256") do tree_hash_path
207207
open(tree_hash_path, "w") do hash_io
208-
write(hash_io, tarball_git_tree_hash(; tarball_path=filepath, algorithm="git-sha256"))
208+
# write(hash_io, tarball_git_tree_hash(; tarball_path=filepath, algorithm="git-sha256"))
209209
end
210210
end
211211
tarball_git_tree_hashes["git-tree-sha1"] = String(read(tree_hash_path_sha1))

0 commit comments

Comments
 (0)