Skip to content

Commit 7f34449

Browse files
authored
add deprecation to LibGit2.cat (#20435)
1 parent 1e085b9 commit 7f34449

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/deprecated.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ end
11891189
@deprecate revparse(repo::GitRepo, objname::AbstractString) GitObject(repo, objname) false
11901190
@deprecate object(repo::GitRepo, te::GitTreeEntry) GitObject(repo, te) false
11911191
@deprecate commit(ann::GitAnnotated) GitHash(ann) false
1192+
@deprecate cat{T<:GitObject}(repo::GitRepo, ::Type{T}, object::AbstractString) cat(repo, object)
11921193
end
11931194

11941195
# when this deprecation is deleted, remove all calls to it, and all

0 commit comments

Comments
 (0)